# influx

> InfluxDB Client

Latest version **5.12.0** (published 2026-01-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install influx
pnpm add influx
yarn add influx
bun add influx
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 5.12.0 |
| Published | 2026-01-12 |
| First published | 2013-11-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 158.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 862 |
| Maintainers | connor.peet, bencevans |
| Keywords | influx, influxdb, time, series, client, db |

## Links

- npm: https://www.npmjs.com/package/influx
- Repository: https://github.com/node-influx/node-influx
- Homepage: https://github.com/node-influx/node-influx#readme
- Issues: https://github.com/node-influx/node-influx/issues
- npm.io page: https://npm.io/package/influx

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 5.12.0 (latest) — 2026-01-12
- 5.0.0-alpha.4 (next) — 2016-10-25
- 5.11.0 — 2025-09-08
- 5.10.0 — 2025-02-27
- 5.9.7 — 2025-01-22
- 5.9.6 — 2025-01-22
- 5.9.5 — 2025-01-22
- 5.9.3 — 2022-02-09
- 5.9.2 — 2021-06-02
- 5.9.1 — 2021-06-02
- 5.9.0 — 2021-05-10
- 5.8.0 — 2021-03-11
- 5.7.0 — 2021-01-30
- 5.6.4 — 2021-01-30
- 5.6.3 — 2020-08-11
- … 49 more at https://npm.io/package/influx/versions

## README

<p align="center">
  <img src="https://raw.github.com/node-influx/node-influx/master/logo.png?v3" alt="node-influx, an InfluxDB client for Node.js and Browsers">
</p>

<hr/>

<p align="center">
  <b><!--An InfluxDB Client for Node.js and Browsers--></b>
</p>

<p align="center">
 <a href="https://github.com/node-influx/node-influx/actions">
    <img src="https://img.shields.io/github/actions/workflow/status/node-influx/node-influx/CI.yml?branch=master&style=flat-square"
         alt="CI Status">
  </a>
  <a href="">
    <img alt="Coveralls github branch" src="https://img.shields.io/coveralls/github/node-influx/node-influx/master.svg?style=flat-square">
  </a>
  <a href="https://www.npmjs.com/package/influx">
    <img src="https://img.shields.io/npm/v/influx.svg?style=flat-square"
          alt="NPM Version">
  </a>
  <a href="https://www.npmjs.com/package/influx">
    <img src="https://img.shields.io/npm/dm/influx.svg?style=flat-square"
         alt="NPM Downloads">

  </a>
</p>

# InfluxDB v1.x JavaScript library

Node and browser library for InfluxDB v1.x and older. For v2, please use the [official client](https://github.com/influxdata/influxdb-client-js/).

<hr/>

## Installation

For Node, simply:

    $ npm install --save influx

For browsers, see the [browser setup](https://node-influx.github.io/manual/usage.html#browser-setup) instructions.

## Features

- Simple API for nearly all Influx operations
- Fully supported in Node and the browser
- Performant, processing millions of rows/sec on modest hardware
- Zero dependencies

## Compatibility

Version 5.x.x is compatible with InfluxDB 1.x on Node 4 on onwards, and modern browsers

Version 4.x.x is compatible with InfluxDB 0.9.x - 0.13.x on Node 0.12 and onwards

Version 3.x.x is compatible with InfluxDB 0.8.x - 3.x will no longer have updates by core contributers, please consider upgrading.

## Usage

- [API Documentation](https://node-influx.github.io/class/src/index.js~InfluxDB.html)
- [Tutorials & Examples](https://node-influx.github.io/manual/tutorial.html)
- [Changelog](https://node-influx.github.io/manual/changelog.html)
- [Contributing](CONTRIBUTING.md)

---
_Source: https://npm.io/package/influx · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
