Small Node.js module that writes out numbers as words in:
- English
- French
- Indian English
- Indonesian
- Danish
- Dutch
Install locally:
npm install spell-it
or globally:
npm install spell-it -g
From node.js:
var spell = require('spell-it') ('fr');
console.log(spell(42));
// quarante-deux
From the shell:
$ spell-it 42 en
forty-two
MIT