0.1.0 • Published 6 years ago

firestore-connector v0.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

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);
0.1.0

6 years ago

0.0.2

7 years ago

0.0.1

7 years ago