{"id":16302608,"url":"https://github.com/z7pz/smash-numbers","last_synced_at":"2025-04-10T05:57:24.821Z","repository":{"id":57364099,"uuid":"298681638","full_name":"z7pz/smash-numbers","owner":"z7pz","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-25T23:11:49.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T13:57:23.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/z7pz.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}},"created_at":"2020-09-25T21:19:32.000Z","updated_at":"2024-05-08T09:33:27.000Z","dependencies_parsed_at":"2022-09-16T22:51:01.391Z","dependency_job_id":null,"html_url":"https://github.com/z7pz/smash-numbers","commit_stats":null,"previous_names":["sdfygamer/smash-numbers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z7pz%2Fsmash-numbers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z7pz%2Fsmash-numbers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z7pz%2Fsmash-numbers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z7pz%2Fsmash-numbers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z7pz","download_url":"https://codeload.github.com/z7pz/smash-numbers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166945,"owners_count":21058480,"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":[],"created_at":"2024-10-10T20:58:26.966Z","updated_at":"2025-04-10T05:57:24.801Z","avatar_url":"https://github.com/z7pz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Installation\n\n`npm i smash-numbers --save`\n \n\n Then...\n ```\nimport { convert, comma } from 'smash-numbers'\n\nconvert(1000) // 1K\n\ncomma(10000) // 10,000\n```\n## Options\n\n* *convert* - _CAPITAL | SMALL_ (Defaults to CAPITAL) ` convert(1000, 'SMALL') // 1k `\n* *comma* - _(any thing you want)_ (Defaults to ,) ` comma(10000, '.') // 10.000 ` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz7pz%2Fsmash-numbers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz7pz%2Fsmash-numbers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz7pz%2Fsmash-numbers/lists"}