Writes out numbers as words in English, French or Danish
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
README.md
cli.js
example.js
package.json

README.md

spell-it

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

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