Get the name of a number, even if it's stupidly big.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Deze repo is gearchiveerd. U kunt bestanden bekijken en het klonen, maar niet pushen of problemen/pull-requests openen.
TheoryOfNekomata 5dd94f67f8 Implement German and Tagalog fundamentals 4 jaren geleden
src Implement German and Tagalog fundamentals 4 jaren geleden
.editorconfig Initial commit 4 jaren geleden
.gitignore Initial commit 4 jaren geleden
.prettierrc Initial commit 4 jaren geleden
LICENSE Initial commit 4 jaren geleden
README.md Modify README 4 jaren geleden
package.json Major refactor 4 jaren geleden
tsconfig.json Initial commit 4 jaren geleden
yarn.lock Initial commit 4 jaren geleden

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.