JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q40520F
  • License MIT

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

Package Exports

  • spell-it

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (spell-it) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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