{"id":17049072,"url":"https://github.com/toddself/round","last_synced_at":"2025-10-26T20:47:49.420Z","repository":{"id":57166968,"uuid":"45371321","full_name":"toddself/round","owner":"toddself","description":"Round numbers","archived":false,"fork":false,"pushed_at":"2015-11-02T04:14:24.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T05:12:05.189Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toddself.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}},"created_at":"2015-11-02T04:01:50.000Z","updated_at":"2019-05-30T06:09:21.000Z","dependencies_parsed_at":"2022-08-30T13:10:14.103Z","dependency_job_id":null,"html_url":"https://github.com/toddself/round","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddself%2Fround","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddself%2Fround/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddself%2Fround/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddself%2Fround/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toddself","download_url":"https://codeload.github.com/toddself/round/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245054036,"owners_count":20553436,"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-14T09:53:48.119Z","updated_at":"2025-10-26T20:47:44.401Z","avatar_url":"https://github.com/toddself.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/toddself/round.svg?branch=master)](https://travis-ci.org/toddself/round)\n\n# round\n\nRound numbers to a specified number of signficant digits or return a 0\n\n## ES6 Module!\nThis is authored as an ES6 module and relies on ES6 features. The `main` key in `package.json` points to the transpiled ES5 source, but the `jsnext:main` key points to the ES6 original source. If your environement supports: \n\n* block scoping (`let` \u0026 `const`)\n* ES6 `import` and `export`\n\nThen feel free to use the ES6 source directly.\n\n## Usage\n```js\nimport round from 'round'\n\nconsole.log(round(12.5, 0)) // 13\nconsole.log(round(14.5, 1)) // 14.5\nconsole.log(round('robin')) // 0\n```\n\n## License\nCopyright (c) 2015 Todd Kennedy, [Apache 2.0](LICENSE)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddself%2Fround","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoddself%2Fround","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddself%2Fround/lists"}