Get the name of a number, even if it's stupidly big.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
TheoryOfNekomata a2ec5ea57c Start decoupling core code to locales 4 年前
src Start decoupling core code to locales 4 年前
tests Implement tests for streams 4 年前
.editorconfig Initial commit 4 年前
.gitignore Implement tests for streams 4 年前
.prettierrc Initial commit 4 年前
LICENSE Initial commit 4 年前
README.md Modify README 4 年前
package.json Start decoupling core code to locales 4 年前
tsconfig.json Start decoupling core code to locales 4 年前
yarn.lock Implement tests for streams 4 年前

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.