@dekproject/influxdb

1.1.0 • Public • Published

@dekproject/influxdb

InfluxDB interface plugin for DEK

What does this plugin do?

  • Control configuration for connection to InfluxDB in production development mode in a simplified way with dotenv
  • Performs connection implementation along the lines ES6 being pre requirement to start the project

Instalation

$ yarn add @dekproject/influxdb --save

In the .env file add the following settings

INFLUXDB_URI=http://127.0.0.1:8086/mydb

Usage

import { $, influxdb } from "@dekproject/scope";

$.wait("influxdb").then(() => {
    influxdb.query(`SHOW DATABASES`).then(console.info).catch(console.error);
});

Readme

Keywords

none

Package Sidebar

Install

npm i @dekproject/influxdb

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

5.08 kB

Total Files

7

Last publish

Collaborators

  • gislainyvelasco
  • andrehrf