Get the name of a number, even if it's stupidly big.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
TheoryOfNekomata d17a77675d Implement tests for streams 3 년 전
src Implement tests for streams 3 년 전
tests Implement tests for streams 3 년 전
.editorconfig Initial commit 3 년 전
.gitignore Implement tests for streams 3 년 전
.prettierrc Initial commit 3 년 전
LICENSE Initial commit 3 년 전
README.md Modify README 3 년 전
package.json Implement tests for streams 3 년 전
tsconfig.json Initial commit 3 년 전
yarn.lock Implement tests for streams 3 년 전

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.