{"id":21310219,"url":"https://github.com/muhajirdev/convert-unit","last_synced_at":"2025-03-15T20:28:01.055Z","repository":{"id":34655513,"uuid":"153647421","full_name":"muhajirdev/convert-unit","owner":"muhajirdev","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-15T05:56:03.000Z","size":397,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T12:51:13.318Z","etag":null,"topics":["unit-conversion","unit-converter","utilities","utility"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/convert-unit","language":"TypeScript","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/muhajirdev.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":"2018-10-18T15:34:52.000Z","updated_at":"2019-07-12T03:58:41.000Z","dependencies_parsed_at":"2025-01-22T09:31:08.339Z","dependency_job_id":"9c92219a-ed85-4dd8-ad02-419e7be524f8","html_url":"https://github.com/muhajirdev/convert-unit","commit_stats":null,"previous_names":["muhajirframe/convert-unit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhajirdev%2Fconvert-unit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhajirdev%2Fconvert-unit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhajirdev%2Fconvert-unit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhajirdev%2Fconvert-unit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muhajirdev","download_url":"https://codeload.github.com/muhajirdev/convert-unit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243789307,"owners_count":20348209,"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":["unit-conversion","unit-converter","utilities","utility"],"created_at":"2024-11-21T17:12:45.629Z","updated_at":"2025-03-15T20:28:01.018Z","avatar_url":"https://github.com/muhajirdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Convert Unit\n\nConvert values to the closest unit\n\n## Usage\n\n```bash\nnpm install --save convert-unit\n```\n\n```javascript\nconst { toClosestUnit } = require(\"convert-unit\");\n\nconsole.log(toClosestUnit(10000000));\n// { value: 10, size: 'MB' }\n```\n\n## Contributing\n\n- [Submit an idea](https://github.com/muhajirframe/convert-unit/issues/new)\n- Make a pull request\n\n**Enjoy!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhajirdev%2Fconvert-unit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuhajirdev%2Fconvert-unit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhajirdev%2Fconvert-unit/lists"}