influxdb-v1
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "influxdb-v1", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A light-weight library to write data to InfluxDB v1", | ||
"main": "./src/index.js", | ||
"types": "./src/index.d.ts", | ||
"bin": { | ||
"influxdb-v1": "src/cli.js" | ||
}, | ||
"files": [ | ||
@@ -21,3 +24,4 @@ "/src" | ||
"influxdb", | ||
"v1" | ||
"v1", | ||
"cli" | ||
], | ||
@@ -34,9 +38,10 @@ "author": "Anudeep <asa.anudeep4@gmail.com>", | ||
"dependencies": { | ||
"phin-retry": "^1.0.3" | ||
"phin-retry": "^1.0.3", | ||
"sade": "^1.8.1" | ||
}, | ||
"devDependencies": { | ||
"c8": "^7.3.0", | ||
"pactum": "^3.1.3", | ||
"pactum": "^3.1.9", | ||
"uvu": "^0.3.3" | ||
} | ||
} |
@@ -55,4 +55,12 @@ # influxdb-v1 | ||
## CLI | ||
### Insert Data | ||
```shell | ||
npx influxdb-v1 insert --url <influx-base-url> --username <user> --password <pass> --db <database> --measurement <measurement> --tags "key=value" --fields "key=value" --ts <timestamp> | ||
``` | ||
### Note | ||
Inspired from [influxdb-v2](https://www.npmjs.com/package/influxdb-v2) |
8902
7
201
65
2
+ Addedsade@^1.8.1
+ Addedmri@1.2.0(transitive)
+ Addedsade@1.8.1(transitive)