--- title: InfluxDB v2 JavaScript client library for web browsers list_title: JavaScript for browsers description: > Use the InfluxDB v2 JavaScript client library in browsers and front-end clients to write data to an InfluxDB Core database. menu: influxdb3_enterprise: name: Browsers and web clients identifier: client_js_browsers parent: JavaScript influxdb3/enterprise/tags: [client libraries, JavaScript] weight: 201 aliases: - /influxdb3/enterprise/api-guide/client-libraries/browserjs/write - /influxdb3/enterprise/api-guide/client-libraries/browserjs/query related: - /influxdb3/enterprise/reference/client-libraries/v2/javascript/nodejs/write/ - /influxdb3/enterprise/api-guide/client-libraries/nodejs/query/ prepend: | > [!Warning] > #### Use InfluxDB 3 clients to query > > InfluxDB 3 supports [compatibility endpoints for _writing data_](/influxdb3/{{% product-key %}}/write-data/compatibility-apis/) using InfluxDB v2 and v1 tools. However, the `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, _can't query_ data stored in {{% product-name %}}. > > [InfluxDB 3 client libraries](/influxdb3/{{% product-key %}}/reference/client-libraries/v3/) are available that integrate with your code to write and query data stored in {{% product-name %}}. > > [**Compare tools you can use**](/influxdb3/enterprise/get-started/#tools-to-use) to interact with {{% product-name %}}. source: /shared/influxdb-client-libraries-reference/v2/javascript/browser.md ---