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 d17a77675d Implement tests for streams 3 anos atrás
src Implement tests for streams 3 anos atrás
tests Implement tests for streams 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 Modify README 3 anos atrás
package.json Implement tests for streams 3 anos atrás
tsconfig.json Initial commit 3 anos atrás
yarn.lock Implement tests for 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.