Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 426 Bytes

README.md

File metadata and controls

34 lines (30 loc) · 426 Bytes

spell-it

Small Node.js module that writes out numbers as words in:

  • English
  • French
  • Indian English
  • Indonesian
  • Danish
  • Dutch

Usage

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

License

MIT