Get the name of a number, even if it's stupidly big.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Este repositório está arquivado. Você pode visualizar os arquivos e realizar clone, mas não poderá realizar push nem abrir issues e pull requests.
TheoryOfNekomata b24d26de25 Add tests for stupidly big numbers 3 anos atrás
src Add tests for stupidly big numbers 3 anos atrás
tests Add tests for stupidly big numbers 3 anos atrás
.editorconfig Initial commit 3 anos atrás
.gitignore Implement tests for streams 3 anos atrás
.prettierrc Initial commit 3 anos atrás
LICENSE Initial commit 3 anos atrás
README.md Update README 3 anos atrás
package.json Add larger examples, actually test streams 3 anos atrás
tsconfig.json Start decoupling core code to locales 3 anos atrás
yarn.lock Add larger examples, actually test streams 3 anos atrás

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.