{"name":"@jennifer/influxdb","description":"An InfluxDB client: line-protocol writes for 1.x, 2.x and 3.x, InfluxQL and Flux queries","versions":{"0.1.0":{"version":"0.1.0","kind":"git","url":"https://github.com/jennifer-language/deck-influxdb.git","ref":"0.1.0","commit":"f90b8a9b21c46176fb440da2cded14926ac4a55e","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.25.0"},"capabilities":["net"],"keywords":["influxdb","metrics","time-series","line-protocol","influxql"],"description":"An InfluxDB client: line-protocol writes for 1.x, 2.x and 3.x, InfluxQL and Flux queries","publishedAt":"1793825745","repoId":1446180342,"repoOwnerId":305727207,"repoOwner":"jennifer-language"}},"readme":"# @jennifer/influxdb\n\n[![test](https://github.com/jennifer-language/deck-influxdb/actions/workflows/test.yml/badge.svg)](https://github.com/jennifer-language/deck-influxdb/actions/workflows/test.yml)\n[![Documentation](https://img.shields.io/badge/docs-github%20pages-blue)](https://jennifer-language.github.io/deck-influxdb/)\n[![release](https://img.shields.io/github/v/release/jennifer-language/deck-influxdb)](https://github.com/jennifer-language/deck-influxdb/releases/latest)\n\nA [Jennifer](https://jennifer-lang.dev/) deck for\n[InfluxDB](https://www.influxdata.com/): build line-protocol points, write\nthem, and query them back: InfluxDB 1.x with InfluxQL, 2.x with token auth\nand Flux, and 3.x with 2.x writes and InfluxQL queries.\n\nIt was Jennifer's bundled `influxdb.j` module until 0.27; the surface is the same,\nso moving over changes only the import:\n\n```jennifer\nimport \"@jennifer/influxdb/\" as influxdb;   # was: import \"influxdb.j\" as influxdb;\n```\n\n**[Documentation](https://jennifer-language.github.io/deck-influxdb/)**\n\n## Install\n\n```sh\njvc add @jennifer/influxdb\n```\n\nThis vendors the deck to `vendor/\u003cscope\u003e/influxdb/`. Without `jvc`, unpack the\n`src/` subtree of a release archive (`\u003cscope\u003e-influxdb-\u003cversion\u003e.tar.gz`) there.\n\n## Usage\n\n```jennifer\nimport \"@jennifer/influxdb/\" as influxdb;\n\ndef c as influxdb.Client init influxdb.clientWith(\"http://localhost:8086\", \"metrics\", \"user\", \"pass\");\ndef p as influxdb.Point init influxdb.field(influxdb.tag(influxdb.point(\"cpu\"), \"host\", \"srv1\"), \"value\", 0.64);\ninfluxdb.write($c, [$p]);\n```\n\n## Requirements\n\nJennifer 0.25.0 or newer, the default `jennifer` binary (`net`), not\n`jennifer-tiny`.\n\n## Development\n\n```sh\ntools/check-all.sh                   # the full gate, as CI runs it\njennifer test src/influxdb_test.j      # the test overlay\ntools/check-docs.sh                  # docs against the code\ntools/pack.sh dist                   # build the release archive\n```\n\n## Licence\n\nLGPL-3.0-only, see [LICENSE](LICENSE). Copyright (C) 2026 mplx \u0026lt;mplx@jennifer-lang.dev\u0026gt;.\n\n`tools/check-headers.sh` checks every source file's SPDX header against\n`deck.toml`.\n"}