Convert written numbers into digits
npm install word-to-numbersbash
npm install word-to-numbers
`
Usage
`javascript
const wordToNum = require('word-to-numbers');
wordToNum("one"); // 1
wordToNum("three point one four one six"); // 3.1416
wordToNum("FIFTY-FIFTY"); // "50-50"
wordToNum("The answer is Forty-Two"); // "The answer is 42"
wordToNum("The odds are three thousand seven hundred and twenty to one!"); // "The odds are 3720 to 1!"
wordToNum("fifty trillion and three") // 50000000000003
``