Get the name of a number, even if it's stupidly big.
Ce dépôt est archivé. Vous pouvez voir les fichiers et le cloner, mais vous ne pouvez pas pousser ni ouvrir de ticket/demande d'ajout.
TheoryOfNekomata d4c5f585f6 Update README il y a 4 ans
src Add examples il y a 4 ans
tests Add examples il y a 4 ans
.editorconfig Initial commit il y a 4 ans
.gitignore Implement tests for streams il y a 4 ans
.prettierrc Initial commit il y a 4 ans
LICENSE Initial commit il y a 4 ans
README.md Update README il y a 4 ans
package.json Start decoupling core code to locales il y a 4 ans
tsconfig.json Start decoupling core code to locales il y a 4 ans
yarn.lock Implement tests for streams il y a 4 ans

README.md

number-name

Converts a number into its name.

See the demo here.

Why?

Inspired by number-to-words. Thinking I could improve on the code to include big integers, I looked for some info and found Landon Curt Noll’s Web page describing the reconstructed English naming system of numbers. I decided to port his Perl script into JavaScript.

Installation

Install via Yarn:

yarn add @theoryofnekomata/number-name

TODO

Please star the repo if you find it useful in your projects.

License

MIT. See LICENSE file for details.