smart-energy-monitor/software/flow/node_modules/@influxdata/influxdb-client/README.md

704 B

@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.