UNPKG

english-words-to-numbers

Version:

Convert all words in a string into numbers. Unlike other packages, it can optionally return the entire revised string with Arabic numbers instead of words.

5 lines (4 loc) 123 B
const ewtn = require('./index'); setTimeout(() => { ewtn('sample0123@example.tk', { enableExtras: true }); }, 1000);