A micro
number word
tonumber
conversion utility for command line that uses word2num API
npm install --global word2num-cli
$ word2num --help
Usage
$ word2num <number-word>
Examples
$ word2num 'three hundred forty two'
342
$ word2num 'three million'
3000000
$ word2num seven
7
MIT © Yatharth Khatri