{"id":18715559,"url":"https://github.com/rawnly/commas","last_synced_at":"2025-09-12T03:40:14.969Z","repository":{"id":78840683,"uuid":"96620649","full_name":"rawnly/commas","owner":"rawnly","description":"Add, Remove, Replace commas.","archived":false,"fork":false,"pushed_at":"2017-07-08T13:31:18.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-19T11:46:02.128Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rawnly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-07-08T13:27:38.000Z","updated_at":"2020-01-15T21:18:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c0ca863-9244-4edd-a5fb-25059564a907","html_url":"https://github.com/rawnly/commas","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rawnly/commas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawnly%2Fcommas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawnly%2Fcommas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawnly%2Fcommas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawnly%2Fcommas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rawnly","download_url":"https://codeload.github.com/rawnly/commas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawnly%2Fcommas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274748576,"owners_count":25341973,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-07T13:09:12.721Z","updated_at":"2025-09-12T03:40:14.932Z","avatar_url":"https://github.com/rawnly.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Commas\n\u003e Add, Remove, Replace commas.\n\n## Installation\nTo install **commas** you need \nto use a **node package manager** as **npm** \nor **yarn**\n\n```bash\n    $ npm install commas --save\n    # YARN \n    $ yarn add commas\n```\n\n## Usage\n\nSee more in the `example` folder\n```js\nconst cm = require('commas');\n\nlet n = {\n  wComma: \"1,000,000\",\n  nComma: 1000000\n}\n\nn = cm.add(number.nComma);\n//=\u003e 1000000 to \"1000000\"\n// return string\n\nn = cm.remove(number.wComma);\n//=\u003e \"1,000,000\" to 1000000\n// return number\n\nn = cm.replace(number.wComma);\n//=\u003e \"1,000,000\" to 1.000.000\n// return number\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawnly%2Fcommas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frawnly%2Fcommas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawnly%2Fcommas/lists"}