npm · npm:bytes
bytes active
Utility to parse a string bytes to bytes and vice-versa
The latest stable version of bytes is 3.1.2, published on 2022-01-28. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.1.2 |
|---|---|
| Published | 2022-01-28 05:02:37 UTC |
| Install | npm install bytes@latest |
| Requires (engines) | {"node":">= 0.8"} |
| Peer dependencies | — |
| Dist-tags | latest: 3.1.2 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:34:03 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "bytes", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/bytes . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2022-01-28 05:02:37 UTC · 1749 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 18 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.1.2 | 2022-01-28 05:02:37 UTC |
3.1.1 | 2021-11-15 22:23:24 UTC |
3.1.0 | 2019-01-23 04:43:34 UTC |
3.0.0 | 2017-08-31 21:52:45 UTC |
2.5.0 | 2017-03-25 04:33:21 UTC |
2.4.0 | 2016-06-01 20:21:14 UTC |
2.3.0 | 2016-02-16 04:00:12 UTC |
2.2.0 | 2015-11-14 01:44:07 UTC |
2.1.0 | 2015-05-22 02:55:58 UTC |
2.0.2 | 2015-05-21 03:19:26 UTC |
2.0.1 | 2015-05-08 04:43:03 UTC |
2.0.0 | 2015-04-12 21:04:54 UTC |
1.0.0 | 2014-05-05 23:52:20 UTC |
0.3.0 | 2014-03-20 01:08:49 UTC |
0.2.1 | 2013-04-01 18:48:09 UTC |
0.2.0 | 2012-10-28 07:40:18 UTC |
0.1.0 | 2012-08-17 19:26:03 UTC |
0.0.1 | 2012-06-11 15:44:34 UTC |
Showing the 18 most recent of 18 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 | 3.1.2 |
node 18 | 3.1.2 |
node 20 | 3.1.2 |
node 22 | 3.1.2 |
node 24 | 3.1.2 |
Upgrade guides for this package
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 bytes?
The latest stable version of bytes is 3.1.2, published on 2022-01-28. Verified by Vigia on 2026-11-12.
How do I install the latest version of bytes?
Run npm install bytes@latest. The latest stable version is 3.1.2 (verified 2026-11-12).
Is bytes deprecated?
No. bytes is not marked as deprecated in the registry.
Which Node.js version does bytes require?
bytes 3.1.2 declares this requirement: {"node":">= 0.8"}.
Does bytes 3.1.2 have known vulnerabilities?
No known advisories affect bytes 3.1.2 according to the data Vigia checks.
Is bytes still maintained?
bytes published 0 stable releases in the last 12 months; the most recent was 1749 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- binary-extensions
- indent-string
- ini
- aria-query
- @radix-ui/react-context
- enhanced-resolve
- tapable
- doctrine
- queue-microtask
- asynckit
- @smithy/util-buffer-from
- accepts
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/bytes) [](https://vigia.coredls.cloud/npm/bytes) [](https://vigia.coredls.cloud/npm/bytes)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/bytes
GET https://vigia.coredls.cloud/v1/packages/npm/bytes/versions/{version}