word2num-cli
Version:
`word2num` for the command line
32 lines (22 loc) • 694 B
Markdown
# word2num-cli
[](https://travis-ci.org/yatharthk/word2num-cli) [](https://github.com/sindresorhus/xo)
> A micro `number word` to `number` conversion utility for command line that uses [word2num](https://github.com/yatharthk/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