{"id":19962140,"url":"https://github.com/salmanm/num-words","last_synced_at":"2025-05-03T22:31:16.621Z","repository":{"id":40485689,"uuid":"154103172","full_name":"salmanm/num-words","owner":"salmanm","description":"Converts digits/numbers to words","archived":false,"fork":false,"pushed_at":"2024-03-27T09:10:33.000Z","size":217,"stargazers_count":26,"open_issues_count":3,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-14T10:11:07.287Z","etag":null,"topics":["amount","convert","crore","lakh","number","words"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salmanm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-22T07:30:48.000Z","updated_at":"2024-06-18T16:12:23.845Z","dependencies_parsed_at":"2024-06-18T16:12:15.808Z","dependency_job_id":"5c7d0388-895b-4a95-9cc9-3eb16bb6c070","html_url":"https://github.com/salmanm/num-words","commit_stats":{"total_commits":27,"total_committers":3,"mean_commits":9.0,"dds":"0.11111111111111116","last_synced_commit":"db2372fd12686d8f7097aa161eceab672d6e8240"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salmanm%2Fnum-words","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salmanm%2Fnum-words/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salmanm%2Fnum-words/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salmanm%2Fnum-words/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salmanm","download_url":"https://codeload.github.com/salmanm/num-words/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224154945,"owners_count":17265256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["amount","convert","crore","lakh","number","words"],"created_at":"2024-11-13T02:09:39.653Z","updated_at":"2024-11-13T02:09:40.178Z","avatar_url":"https://github.com/salmanm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# num-words\n\nAn simple module to convert numbers to words for South Asian numbering system. e.g. Two crore four lakh.\n\n# Install\n\n```js\nnpm i num-words\n```\n\n# Example\n\n```js\n1          -\u003e  one\n12         -\u003e  twelve\n123        -\u003e  one hundred and twenty three\n1234       -\u003e  one thousand two hundred and thirty four\n12345      -\u003e  twelve thousand three hundred and forty five\n123456     -\u003e  one lakh twenty three thousand four hundred and fifty six\n```\n\n# Usage\n\n```js\nconst numWords = require('num-words')\n\nconst amountInWords = numWords(12345) // twelve thousand three hundred and forty five\n```\n\n_Note: This module only supports 9 digits input. A typical usecase for such convertion is in tax invoices or charts etc. For that more than 9 digits input is not very common (and also not very readable)._\n\n# Contributing\n\nIn case you notice a bug, please open an issue mentioning the input that has caused an incorrect conversion.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalmanm%2Fnum-words","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalmanm%2Fnum-words","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalmanm%2Fnum-words/lists"}