node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

tidepool-animas-diasend-data

animas-diasend-data

parser for animas pump, cbg

Install

Build Status Coverage Status Code Climate

browser support

npm install animas-diasend-data
make test

Usage

CLI Commands

animas-dump-json

Print json version of Diasend spreadsheet.

$ ./bin/animas-dump-json <incoming.xls>

download-diasend

Download recent xls from diasend.

node ./bin/download-diasend [opts] <out.xls>
 
Options:
  -u, --username  Diasend username (or environment $DIASEND_USERNAME)
  -p, --password  Diasend password (or environment $DIASEND_PASSWORD)
  -d, --days      Number of recent days to fetch                       [default: 14]
 

Enable tab completion with:

$ . <(download-diasend completion)

sunder-csv

Split binary spreadsheet into separate plain text csv files.

node ./bin/sunder-csv [opts] <incoming.xls>
 
Options:
  -s, --stdout  Print everything to stdout  [default: false]
  -p, --prefix  Prefix to store csv files   [default: ""]
 

Enable tab completion with:

$ . <(sunder-csv completion)