cbor2 2.1.1

Encode and parse data in the Concise Binary Object Representation (CBOR) data format (RFC8949).

cbor2@2.1.1 was published on 2026-01-21. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=20.

All cbor2 versions · Permanent reference to 2.1.1 · Latest release

Package specifications

Version2.1.1
License declarationMIT
Published2026-01-21T17:37:32.196Z
Node.js requirement>=20
Type declarationsBundled declarations
Runtime dependency count1
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size110.14 KiB
Published file count42
Package typemodule
ES module entryNot declared
Default entryNot declared
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies1
Repository stars120
Repository forks12

Install cbor2 2.1.1

npm install cbor2@2.1.1
pnpm add cbor2@2.1.1
yarn add cbor2@2.1.1

Runtime dependencies

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.

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