borsh 0.4.0
Binary Object Representation Serializer for Hashing
borsh@0.4.0 was published on 2021-05-05. Its manifest declares 4 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All borsh versions · Permanent reference to 0.4.0 · Latest release
Package specifications
| Version | 0.4.0 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2021-05-05T12:37:23.864Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 4 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 79.46 KiB |
| Published file count | 52 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | lib/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 8 |
| Repository stars | 140 |
| Repository forks | 39 |
Install borsh 0.4.0
npm install borsh@0.4.0 pnpm add borsh@0.4.0 yarn add borsh@0.4.0
Runtime dependencies
- @types/bn.js ^4.11.5
- bn.js ^5.0.0
- bs58 ^4.0.0
- text-encoding-utf-8 ^1.0.2
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @types/bn.js@4.11.6 — direct
- @types/node@26.6.5 — indirect
- base-x@3.0.11 — indirect
- bn.js@5.2.5 — direct
- bs58@4.0.1 — direct
- safe-buffer@5.2.1 — indirect
- text-encoding-utf-8@1.0.2 — direct
- undici-types@8.9.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- https://registry.npmjs.org/borsh/0.4.0 — retrieved 2026-10-29T20:22:30.548Z
- https://api.deps.dev/v3/projects/github.com%2Fnear%2Fborsh-js — retrieved 2026-10-29T14:13:25.437Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/systems/npm/packages/borsh/versions/0.4.0 — retrieved 2026-10-29T20:22:31.253Z
- https://api.deps.dev/v3/systems/npm/packages/borsh/versions/0.4.0:dependencies — retrieved 2026-10-29T20:22:31.267Z