Get the name of a number, even if it's stupidly big.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
To repozytorium jest zarchiwizowane. Możesz wyświetlać pliki i je sklonować, ale nie możesz do niego przepychać zmian lub otwierać zgłoszeń/Pull Requestów.
TheoryOfNekomata b772227f38 Add larger examples, actually test streams 4 lat temu
src Add larger examples, actually test streams 4 lat temu
tests Add larger examples, actually test streams 4 lat temu
.editorconfig Initial commit 4 lat temu
.gitignore Implement tests for streams 4 lat temu
.prettierrc Initial commit 4 lat temu
LICENSE Initial commit 4 lat temu
README.md Update README 4 lat temu
package.json Add larger examples, actually test streams 4 lat temu
tsconfig.json Start decoupling core code to locales 4 lat temu
yarn.lock Add larger examples, actually test streams 4 lat temu

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.