{"id":833150,"name":"@batou.dev/bytes","ecosystem":"npm","description":"Work with byte sizes in JavaScript with native Intl support","homepage":"https://github.com/vbatoufflet/js-bytes#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/vbatoufflet/js-bytes","keywords_array":["binary","bytes","decimal","format","iec","intl","parse","si"],"namespace":"batou.dev","versions_count":9,"first_release_published_at":"2021-04-14T11:25:24.037Z","latest_release_published_at":"2026-04-26T20:05:38.500Z","latest_release_number":"0.6.0","last_synced_at":"2026-04-27T00:46:41.115Z","created_at":"2022-04-07T14:08:38.458Z","updated_at":"2026-04-27T00:46:41.116Z","registry_url":"https://www.npmjs.com/package/@batou.dev/bytes","install_command":"npm install @batou.dev/bytes","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.6.0"}},"repo_metadata":{"id":45728901,"uuid":"357789771","full_name":"vbatoufflet/js-bytes","owner":"vbatoufflet","description":"Library for working with byte sizes in JavaScript","archived":false,"fork":false,"pushed_at":"2024-11-06T07:01:37.000Z","size":442,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-15T08:16:26.662Z","etag":null,"topics":["bytes","intl","javascript","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/vbatoufflet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2021-04-14T05:52:51.000Z","updated_at":"2024-11-06T07:01:41.000Z","dependencies_parsed_at":"2024-11-03T23:33:13.213Z","dependency_job_id":"59e05d40-1e70-4548-b272-20e29c976138","html_url":"https://github.com/vbatoufflet/js-bytes","commit_stats":{"total_commits":69,"total_committers":1,"mean_commits":69.0,"dds":0.0,"last_synced_commit":"0376935d41a8ff837c4397e0a4bb9dbdb379fda6"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/vbatoufflet/js-bytes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vbatoufflet","download_url":"https://codeload.github.com/vbatoufflet/js-bytes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/sbom","scorecard":{"id":917109,"data":{"date":"2025-08-18","repo":{"name":"github.com/vbatoufflet/js-bytes","commit":"20e8a4cba117ead204317fdcaae216f42f1831ff"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":3.3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish-pages.yaml:1","Warn: no topLevel permission defined: .github/workflows/run-tests.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-pages.yaml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/vbatoufflet/js-bytes/publish-pages.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-pages.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/vbatoufflet/js-bytes/publish-pages.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-pages.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/vbatoufflet/js-bytes/publish-pages.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-tests.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/vbatoufflet/js-bytes/run-tests.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-tests.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/vbatoufflet/js-bytes/run-tests.yaml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/publish-pages.yaml:19","Warn: npmCommand not pinned by hash: .github/workflows/run-tests.yaml:22","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T21:26:28.032Z","repository_id":45728901,"created_at":"2025-08-24T21:26:28.032Z","updated_at":"2025-08-24T21:26:28.032Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018771,"owners_count":26086449,"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-10-14T02:00:06.444Z","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"},"owner_record":{"login":"vbatoufflet","name":"Vincent Batoufflet","uuid":"598433","kind":"user","description":"","email":"","website":"https://batou.dev/","location":"Paris, France","twitter":"vbatoufflet","company":null,"icon_url":"https://avatars.githubusercontent.com/u/598433?u=4dffbc3102db0bd15a70b614dc12c640cb70c61d\u0026v=4","repositories_count":11,"last_synced_at":"2023-04-04T06:36:53.220Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/vbatoufflet","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-04T13:31:49.357Z","updated_at":"2023-04-04T06:36:53.231Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vbatoufflet","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vbatoufflet/repositories"},"tags":[{"name":"v0.5.1","sha":"6a75a420d578bfaa13b4076e84db51dc2200332f","kind":"commit","published_at":"2022-07-15T11:46:27.000Z","download_url":"https://codeload.github.com/vbatoufflet/js-bytes/tar.gz/v0.5.1","html_url":"https://github.com/vbatoufflet/js-bytes/releases/tag/v0.5.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vbatoufflet/js-bytes@v0.5.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.5.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.5.1/manifests"},{"name":"v0.5.0","sha":"8402081581b97f5aa88ff9bf105f3cd678db6d8c","kind":"commit","published_at":"2022-01-05T08:29:09.000Z","download_url":"https://codeload.github.com/vbatoufflet/js-bytes/tar.gz/v0.5.0","html_url":"https://github.com/vbatoufflet/js-bytes/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vbatoufflet/js-bytes@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.5.0/manifests"},{"name":"v0.4.0","sha":"51002f881e5aff3f2610128716b87948bbc019f8","kind":"commit","published_at":"2021-04-19T10:57:49.000Z","download_url":"https://codeload.github.com/vbatoufflet/js-bytes/tar.gz/v0.4.0","html_url":"https://github.com/vbatoufflet/js-bytes/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vbatoufflet/js-bytes@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.4.0/manifests"},{"name":"v0.3.0","sha":"89aed8f0b79a3a268eee906053bdb64b5891fa52","kind":"commit","published_at":"2021-04-18T07:31:45.000Z","download_url":"https://codeload.github.com/vbatoufflet/js-bytes/tar.gz/v0.3.0","html_url":"https://github.com/vbatoufflet/js-bytes/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vbatoufflet/js-bytes@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"4166ae33bbbd8fab2099c9dae0674694ac7ee212","kind":"commit","published_at":"2021-04-16T05:05:53.000Z","download_url":"https://codeload.github.com/vbatoufflet/js-bytes/tar.gz/v0.2.0","html_url":"https://github.com/vbatoufflet/js-bytes/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vbatoufflet/js-bytes@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.2.0/manifests"},{"name":"v0.1.2","sha":"a3d37761251a586049e6d927d8625a95d3aa97ce","kind":"commit","published_at":"2021-04-14T16:35:58.000Z","download_url":"https://codeload.github.com/vbatoufflet/js-bytes/tar.gz/v0.1.2","html_url":"https://github.com/vbatoufflet/js-bytes/releases/tag/v0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vbatoufflet/js-bytes@v0.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"ec371a5e7208ba89f1b902b043614dc6b7266bc8","kind":"commit","published_at":"2021-04-14T06:57:02.000Z","download_url":"https://codeload.github.com/vbatoufflet/js-bytes/tar.gz/v0.1.1","html_url":"https://github.com/vbatoufflet/js-bytes/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vbatoufflet/js-bytes@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"4e856e7dc14e20d2c70b167ff06fee1c8c24505a","kind":"commit","published_at":"2021-04-14T06:57:02.000Z","download_url":"https://codeload.github.com/vbatoufflet/js-bytes/tar.gz/v0.1.0","html_url":"https://github.com/vbatoufflet/js-bytes/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/vbatoufflet/js-bytes@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-04-27T00:46:41.088Z","dependent_packages_count":1,"downloads":751,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":23.084178269577176,"dependent_repos_count":25.32799796580169,"dependent_packages_count":16.223928578504864,"stargazers_count":16.794436995991045,"forks_count":17.419597981652586,"average":19.770027958305473},"purl":"pkg:npm/%40batou.dev/bytes","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@batou.dev/bytes","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@batou.dev/bytes","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@batou.dev/bytes/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-13T20:35:27.599Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbatoufflet%2Fjs-bytes/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@batou.dev%2Fbytes/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@batou.dev%2Fbytes/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@batou.dev%2Fbytes/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@batou.dev%2Fbytes/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@batou.dev%2Fbytes/codemeta","maintainers":[{"uuid":"vbatoufflet","login":"vbatoufflet","name":null,"email":"vincent@batoufflet.info","url":null,"packages_count":10,"html_url":"https://www.npmjs.com/~vbatoufflet","role":null,"created_at":"2022-11-15T10:56:29.190Z","updated_at":"2022-11-15T10:56:29.190Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/vbatoufflet/packages"}]}