Socket
Book a DemoInstallSign in
Socket

tsps

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsps

grams of sugar in tablespoons.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

cli-app

FAQs

Package last updated on 15 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts