1.0.1 • Published 10 years ago

tsps v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

tsps Build Status

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!

tsps.gif

Motivation?

Sugar (HBO)

License

MIT © Hemanth.HM