Get the name of a number, even if it's stupidly big.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Questo repository è archiviato. Puoi vedere i file e clonarli, ma non puoi effettuare richieste di pushj o aprire problemi/richieste di pull.
TheoryOfNekomata b24d26de25 Add tests for stupidly big numbers 3 anni fa
src Add tests for stupidly big numbers 3 anni fa
tests Add tests for stupidly big numbers 3 anni fa
.editorconfig Initial commit 3 anni fa
.gitignore Implement tests for streams 3 anni fa
.prettierrc Initial commit 3 anni fa
LICENSE Initial commit 3 anni fa
README.md Update README 3 anni fa
package.json Add larger examples, actually test streams 3 anni fa
tsconfig.json Start decoupling core code to locales 3 anni fa
yarn.lock Add larger examples, actually test streams 3 anni fa

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.