/word2num-cli

Use word2num from the command-line

Primary LanguageJavaScriptMIT LicenseMIT

word2num-cli

Build Status XO code style

A micro number word to number conversion utility for command line that uses word2num API

Installation

npm install --global word2num-cli

Usage

$ word2num --help

  Usage
    $ word2num <number-word>

  Examples
    $ word2num 'three hundred forty two'
    342
    $ word2num 'three million'
    3000000
    $ word2num seven
    7

License

MIT © Yatharth Khatri