@softwarerero/numbertoword
v1.0.6
Published
Convert numbers to words
Downloads
7
Readme
Helper functions to convert positive numbers to letters.
Currently supported are English (US), Spanish and German.
The project uses ES6 export/import syntax, so you need a modern browser or Node version.
Install with npm install --save @softwarerero/numbertoword
.
Usage:
import numberToWord from '../numberToWord.en.js'
numberToWord(1) // should return 'one'
New release
- Update version in package.json & package-lock.json
- git commit -am '1.0.6'
- git tag v1.0.6
- npm publish
- git push
- git push --tags