UNPKG

word2num-cli

Version:
32 lines (22 loc) 694 B
# word2num-cli [![Build Status](https://travis-ci.org/yatharthk/word2num-cli.svg?branch=master)](https://travis-ci.org/yatharthk/word2num-cli) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](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