spell-it

Writes out numbers as words in English, French, Dutch, Indian English, Indonesian or Danish

Usage no npm install needed!

<script type="module">
  import spellIt from 'https://cdn.skypack.dev/spell-it';
</script>

README

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