firestore-connector

0.1.0 • Public • Published

A connector to write sensor data to Google Firestore

This library writes sensor data in an opiniated way to firestore.

Usage

var fc = require('firestore-connector');

// Replace with your service account credentials
fc.init("./<service-account-credentials>.json", "<database-url>")

fc.writeAvgForMinute('test', Date.now() - 60000, Date.now(), 1.5, 1);

Readme

Keywords

Package Sidebar

Install

npm i firestore-connector

Weekly Downloads

1

Version

0.1.0

License

ISC

Unpacked Size

2.65 kB

Total Files

4

Last publish

Collaborators

  • nmeseth