tsps
v1.0.1
Published
grams of sugar in tablespoons.
Downloads
12
Maintainers
Readme
tsps
grams of sugar in tablespoons.
So, you want to know how many tablespoons of sugar you are eating?
Install
$ npm install --save tsps
Usage
const tsps = require('tsps');
tsps(1);
//=> '1gram of sugar is 0.25tablespoon'
tsps(1, 'g');
//=> '1gram of sugar is 0.25tablespoon'
tsps(1, 't');
//=> 1tablespoon of sugar is 4grams
CLI
$ npm install --global tsps
$ tsps --help
grams of sugar in tablespoons.
Usage
$ tsps <input> [flags]
flags
-g for grams [Default]
-t for tablespoons
Examples
$ tsps 1
1gram of sugar is 0.25tablespoon
$ tsps -t 1
1tablespoon of sugar is 4grams
GIF FTW!
Motivation?
License
MIT © Hemanth.HM