{"id":37769279,"url":"https://github.com/garora/number2text","last_synced_at":"2026-01-16T14:50:51.463Z","repository":{"id":29765758,"uuid":"33309628","full_name":"garora/number2text","owner":"garora","description":"Provides the facility to convert number to text (currently supports only Indian and English style for number to text including currency (Indian Rupee and US Dollar))","archived":false,"fork":false,"pushed_at":"2021-08-20T13:47:14.000Z","size":31,"stargazers_count":5,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-22T17:24:41.430Z","etag":null,"topics":["currency","dollar","indians","javascript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/number2text","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/garora.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-02T13:14:54.000Z","updated_at":"2023-01-02T11:54:19.000Z","dependencies_parsed_at":"2022-09-09T09:11:19.921Z","dependency_job_id":null,"html_url":"https://github.com/garora/number2text","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/garora/number2text","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garora%2Fnumber2text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garora%2Fnumber2text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garora%2Fnumber2text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garora%2Fnumber2text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garora","download_url":"https://codeload.github.com/garora/number2text/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garora%2Fnumber2text/sbom","scorecard":{"id":419037,"data":{"date":"2025-08-11","repo":{"name":"github.com/garora/number2text","commit":"70c80b113790daed1209657950abc8dc286f8ba5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T00:42:09.634Z","repository_id":29765758,"created_at":"2025-08-19T00:42:09.634Z","updated_at":"2025-08-19T00:42:09.634Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["currency","dollar","indians","javascript"],"created_at":"2026-01-16T14:50:51.384Z","updated_at":"2026-01-16T14:50:51.448Z","avatar_url":"https://github.com/garora.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Looking for contributors\nDue to other stuffs, I'm unable to maintain the repository. There were plans to enhance the code with new langauge/conversions, if you have time and willing to help communities. You are the one who can contribute. Add your [plan](https://github.com/garora/number2text/issues) here and lets start it.\n\nNumber to Text\n===\n[![Build Status](https://travis-ci.org/garora/number2text.svg?branch=master)](https://travis-ci.org/garora/number2text)   [![Coverage Status](https://coveralls.io/repos/garora/number2text/badge.svg)](https://coveralls.io/r/garora/number2text)\n\u003e Provides the facility to convert number to text. \n\n* Default type is Indian for non-currency \n* Default type is Indian Rupee for currency\n* Indian style for number to text (Indian Rupee for currency)\n* English style for number to text (US Dollar for currency)\n\n\n## How to install?\n\n```shell\n  npm install number2text\n```\n\n## How to use?\n\n```js\n  var numberToText = require('number2text');\n ```\n\n```js\n     \n  var textDefault = numberToText(1000000); //it converts to default type i.e. Indian\n\n  console.log('Converts 1000000 to ', textDefault); //Converts 1000000 to Ten Lakh\n```\n\n```js\n       \n  var textIndian = numberToText(1000000,'Indian');\n\n  console.log('Converts 1000000 to ', textIndian); //Converts 1000000 to Ten Lakh\n```\n\n```js\n       \n  var textEnglish = numberToText(1000000,'English');\n\n  console.log('Converts 1000000 to ', textEnglish); //Converts 1000000 to One Million\n```\n\n```js\n       \n  //Large values\n\n  var textIndian = numberToText(1000000000000);\n  var textEnglish = numberToText(1000000000000,'English');\n\n  console.log('Converts 1000000000000 to ', textIndian); //Converts 1000000000000 to One Lakh Crore\n  console.log('Converts 1000000000000 to ', textEnglish); //Converts 1000000000000 to One Trillion\n```\n\n```js\n       \n  //For types other than Indian, English\n\n  var text = numberToText(100,\"French\");\n  \n  console.log('Retuns message: ', text); //Return message: Support for language: french is not available. Available languages are: indian,english\n ```\n\n```js\n       \n  var defaultCurrency = numberToText(100.10,'',true);\n\n  console.log('Converts 100.10 to ', defaultCurrency); //Converts 100.10 to One Hundred Rupee And Ten Paise Only\n```\n\n```js\n       \n  var defaultNonCurrency = numberToText(100.10);\n\n  console.log('Converts 100.10 to ', defaultNonCurrency); //Converts 100.10 to One Hundred Point Ten \n```\n\n## Executing tests\n\n```shell\n   npm test\n```\n\n## Contribution\n\nJust need to take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.\n\n```shell\n  git clone https://github.com/garora/number2text.git\n  cd number2text\n```\n\n### Contributors\nMany thanks to all the contributors who spent their time to write code. Their contribution is priceless, A small gratitude for their contributions:\n\n 1. [Rishabh Desai](https://github.com/rishabdesai)\n\n# Starting with pre-release installation\n\n```shell\n  npm install git://github.com/garora/number2text.git\n  npm install git://github.com/garora/number2text.git#pre-releaseversion\n```\n\n## License\n\nMIT\n\n## Release notes\n\nCurrently ```number2text``` is in initial release. We're trying to make it more stable. Currently, it supports Indian standard to read numbers as words. Check for more details: [Change log](https://github.com/garora/number2text/blob/master/Changelog.md)\n\n\n## Release history\n\n* 0.0.0 Initial release\n* 0.1.0 Initial release - Fixed few issues related to build\n* 0.1.1 Few fixes\n* 0.1.11 Typos\n* 1.0.0 New feature\n* 1.0.1 Added large number support\n* 1.1.0 Added currency support\n* 1.1.1 typos\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarora%2Fnumber2text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarora%2Fnumber2text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarora%2Fnumber2text/lists"}