Get the name of a number, even if it's stupidly big.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
Este repositorio está archivado. Puede ver los archivos y clonarlo, pero no puede subir cambios o reportar incidencias ni pedir Pull Requests.
TheoryOfNekomata b24d26de25 Add tests for stupidly big numbers hace 3 años
src Add tests for stupidly big numbers hace 3 años
tests Add tests for stupidly big numbers hace 3 años
.editorconfig Initial commit hace 3 años
.gitignore Implement tests for streams hace 3 años
.prettierrc Initial commit hace 3 años
LICENSE Initial commit hace 3 años
README.md Update README hace 3 años
package.json Add larger examples, actually test streams hace 3 años
tsconfig.json Start decoupling core code to locales hace 3 años
yarn.lock Add larger examples, actually test streams hace 3 años

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.