2.0.0 • Published 5 years ago

@mooper/plant-parse v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

plant-parse

npm (scoped) npm bundle size

A npm module to parse jsons produced by GroMet Sensor Pods

Install

$ npm install @mooper/plant-parse

Usage

startServer();
//=> server bound to port 5000, parsing and writing jsons to csv files

plantData = { ID: 1234, humidity: 100, light_exposure: 95};
writeToFile(plantData);
//=> csv file 1234.csv contains:
// humidity, light_exposure
// 100, 95