{"id":17040106,"url":"https://github.com/evan-moon/simple-number-suffix","last_synced_at":"2026-04-29T20:10:26.590Z","repository":{"id":57360526,"uuid":"86423882","full_name":"evan-moon/simple-number-suffix","owner":"evan-moon","description":"module that adds a suffix by rounding down the number.","archived":false,"fork":false,"pushed_at":"2019-01-01T10:49:31.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T21:04:32.081Z","etag":null,"topics":[],"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/evan-moon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-28T06:36:16.000Z","updated_at":"2019-01-01T10:50:13.000Z","dependencies_parsed_at":"2022-09-26T16:40:47.169Z","dependency_job_id":null,"html_url":"https://github.com/evan-moon/simple-number-suffix","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/evan-moon%2Fsimple-number-suffix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evan-moon%2Fsimple-number-suffix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evan-moon%2Fsimple-number-suffix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evan-moon%2Fsimple-number-suffix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evan-moon","download_url":"https://codeload.github.com/evan-moon/simple-number-suffix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245040185,"owners_count":20551299,"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:08:35.170Z","updated_at":"2026-04-29T20:10:21.556Z","avatar_url":"https://github.com/evan-moon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[npm-image]: https://img.shields.io/npm/v/simple-number-suffix.svg\n[npm-url]: https://www.npmjs.com/package/simple-number-suffix\n\n# simple-number-suffix [![npm][npm-image]][npm-url]\nmodule that adds a suffix by rounding down the number.\n\n## Installation\n```shell\nnpm install simple-number-suffix\n```\n\n## Usage (with CommonJS)\n```javascript\nconst filter = require('simple-number-suffix');\n\nfilter(999); // 999\nfilter(1234); // 1k\nfilter(1002928); // 1M\nfilter(2249284291); // 2G\nfilter(Number.MAX_SAFE_INTEGER); // 9P\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevan-moon%2Fsimple-number-suffix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevan-moon%2Fsimple-number-suffix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevan-moon%2Fsimple-number-suffix/lists"}