node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

spell-it

spell-it

Small Node.js module that writes out numbers as words in English, French, Indonesian, Danish or Dutch.

Usage

Install:

npm install spell-it

From node.js:

var spell = require('spell-it') ('fr');
console.log(spell(42));
// quarante-deux 

From the shell:

$ ./cli.js 42 en

License

MIT