0.3.1 • Published 7 years ago

scale-reader v0.3.1

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

Scale Reader

Node application that reads a file stream, parses its input as a weight measurement and sends it somewhere.

Probably only useful in combination with:

Usage

Install NPM module:

npm install -g scale-reader

Read data from a file and transmit stable values to a server endpoint:

scale-reader --help

  Usage: scale-reader [options]

  Options:

    -h, --help                                output usage information
    -F, --filename <path to file>             Path to file to read weight from
    -T, --target-url <url to PATCH endpoint>  Target URL

Data transmission is a PATCH to --target-url with body:

{
  "grams": 1025,
  "timestamp": "2015-12-08T12:35:43.771Z"
}

License

MIT

0.3.1

7 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago