influxdb-nodejs
Node.js客户端。
安装
$ npm install influxdb - nodejs
例子
查看目录以获取工作示例。
原料药
新客户
// no auth
const Influx = require ( 'influxdb-nodejs' ) ;
const client = new Influx ( 'http://127.0.0.1:8086/mydb' ) ;
// normal auth (user and password will be added to URL query parameters)
const Influx = require ( 'influxdb-nodejs' ) ;
const client = new Influx ( 'http://user:pwd@127.0.0.1:8086/mydb' )
评论0
最新资源