Get the name of a number, even if it's stupidly big.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Repozitorijs ir arhivēts. Tam var aplūkot failus un to var klonēt, bet nevar iesūtīt jaunas izmaiņas, kā arī atvērt jaunas problēmas/izmaiņu pieprasījumus.
TheoryOfNekomata b24d26de25 Add tests for stupidly big numbers pirms 4 gadiem
src Add tests for stupidly big numbers pirms 4 gadiem
tests Add tests for stupidly big numbers pirms 4 gadiem
.editorconfig Initial commit pirms 4 gadiem
.gitignore Implement tests for streams pirms 4 gadiem
.prettierrc Initial commit pirms 4 gadiem
LICENSE Initial commit pirms 4 gadiem
README.md Update README pirms 4 gadiem
package.json Add larger examples, actually test streams pirms 4 gadiem
tsconfig.json Start decoupling core code to locales pirms 4 gadiem
yarn.lock Add larger examples, actually test streams pirms 4 gadiem

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.