JSPM

@influxdata/influxdb-client

1.34.2-nightly.4443
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 117091
  • Score
    100M100P100Q178615F
  • License MIT

InfluxDB 2.x client

Package Exports

  • @influxdata/influxdb-client

Readme

@influxdata/influxdb-client

The reference javascript client for InfluxDB 2.x. Both node and browser environments are supported. The package.json

  • main points to node.js CJS distribution
  • module points to node.js ESM distribution
  • browser points to browser (UMD) distribution

Node.js distributions do not work in browser and vice versa, because different platform APIs are used. Use @influxdata/influxdb-client-browser to import browser ESM module. See https://github.com/influxdata/influxdb-client-js to know more.

Note: This library is for use with InfluxDB 2.x or 1.8+. For connecting to InfluxDB 1.x instances, see node-influx.