npm · npm:byte-size
byte-size active
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
The latest stable version of byte-size is 9.0.2, published on 2026-10-15. Verified by Vigia on 2026-11-12.
| Latest stable version | 9.0.2 |
|---|---|
| Published | 2026-10-15 14:25:30 UTC |
| Install | npm install byte-size@latest |
| Requires (engines) | {"node":">=12.17"} |
| Peer dependencies | @75lb/nature latest |
| Dist-tags | latest: 9.0.2 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 18:19:15 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-10-15 14:25:30 UTC · 28 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 25 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
9.0.2 | 2026-10-15 14:25:30 UTC |
9.0.1 | 2024-12-06 00:06:10 UTC |
9.0.0 | 2024-07-20 19:03:43 UTC |
8.2.1 | 2024-07-20 18:53:36 UTC |
8.2.0 | 2024-07-20 18:45:32 UTC |
8.1.1 | 2023-05-03 14:42:14 UTC |
8.1.0 | 2021-08-17 12:43:53 UTC |
8.0.0 | 2021-07-04 13:21:09 UTC |
7.0.1 | 2021-03-04 22:43:53 UTC |
7.0.0 | 2020-05-27 10:44:40 UTC |
6.2.0 | 2019-10-27 23:54:43 UTC |
6.1.0 | 2019-10-25 20:32:14 UTC |
6.0.0 | 2019-09-22 15:46:03 UTC |
5.0.1 | 2018-12-21 23:21:57 UTC |
5.0.0 | 2018-12-21 22:50:26 UTC |
4.0.4 | 2018-10-18 19:09:01 UTC |
4.0.3 | 2018-05-12 22:58:36 UTC |
4.0.2 | 2017-07-06 12:29:38 UTC |
4.0.1 | 2017-06-26 20:51:23 UTC |
4.0.0 | 2017-06-21 18:49:33 UTC |
Showing the 20 most recent of 25 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 9.0.2 |
node 18 | 9.0.2 |
node 20 | 9.0.2 |
node 22 | 9.0.2 |
node 24 | 9.0.2 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of byte-size?
The latest stable version of byte-size is 9.0.2, published on 2026-10-15. Verified by Vigia on 2026-11-12.
How do I install the latest version of byte-size?
Run npm install byte-size@latest. The latest stable version is 9.0.2 (verified 2026-11-12).
Is byte-size deprecated?
No. byte-size is not marked as deprecated in the registry.
Which Node.js version does byte-size require?
byte-size 9.0.2 declares this requirement: {"node":">=12.17"}.
Does byte-size 9.0.2 have known vulnerabilities?
No known advisories affect byte-size 9.0.2 according to the data Vigia checks.
Is byte-size still maintained?
byte-size published 1 stable releases in the last 12 months; the most recent was 28 days ago. Activity: active.
Observed changes
- hu Oct 15 2026 15:46:32 GMT+0000 (Coordinated Universal Time) — released 9.0.1 → 9.0.2
Related packages
- karma-jasmine-html-reporter
- @contentful/rich-text-types
- is-mobile
- @react-email/hr
- @sentry/profiling-node
- git-log-parser
- @better-auth/prisma-adapter
- @jimp/gif
- @storybook/manager
- has-symbol-support-x
- delegate
- @vercel/gatsby-plugin-vercel-analytics
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/byte-size) [](https://vigia.coredls.cloud/npm/byte-size) [](https://vigia.coredls.cloud/npm/byte-size)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/byte-size
GET https://vigia.coredls.cloud/v1/packages/npm/byte-size/versions/{version}