@peculiar/asn1-ecc
ASN.1 schema for elliptic-curve private keys and related identifiers defined in RFC 5915, RFC 5480, and RFC 3279.
Last updated a month ago by GitHub Actions .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @peculiar/asn1-ecc 
SYNC missed versions from official npm registry.

@peculiar/asn1-ecc

License npm version

NPM

ASN.1 schema for elliptic-curve private keys and related identifiers defined in RFC 5915, RFC 5480, and RFC 3279.

Use the exported classes with @peculiar/asn1-schema helpers such as AsnConvert, AsnParser, and AsnSerializer to parse or serialize DER-encoded data defined by the referenced specification.

Installation

npm install @peculiar/asn1-ecc

Breaking Changes In v3

v3 is ESM-only and requires Node.js ^20.19.0 || >=22.12.0 (was >=14). CommonJS code can still require("@peculiar/asn1-ecc") on these versions; Node.js 22.0–22.11 can't. The public API is unchanged. See the full notes.

  • TypeScript compiling to CommonJS: use "module": "node20" or "nodenext" (node16 fails with TS1479). ESM and bundler setups need no changes.
  • Jest in CommonJS mode: switch to ESM mode or Vitest, or configure an ESM-to-CommonJS transformer and make sure transformIgnorePatterns doesn't exclude the @peculiar/* packages and asn1js.
  • Deep imports (@peculiar/asn1-ecc/build/...) are blocked by exports; import from @peculiar/asn1-ecc.
  • Peer dependencies: @peculiar/asn1-schema (^3.0.0) is a peer instead of a dependency, so your app shares one copy with the other @peculiar/asn1-* packages. npm installs peers automatically.

Specifications

Current Tags

  • 3.0.0                                ...           latest (a month ago)

55 Versions

  • 3.0.0                                ...           a month ago
  • 2.11.1                                ...           a month ago
  • 2.11.0                                ...           a month ago
  • 2.10.0                                ...           2 months ago
  • 2.9.5                                ...           2 months ago
  • 2.9.4                                ...           3 months ago
  • 2.9.3                                ...           3 months ago
  • 2.9.2                                ...           3 months ago
  • 2.9.0                                ...           3 months ago
  • 2.8.0                                ...           6 months ago
  • 2.7.0                                ...           7 months ago
  • 2.6.1                                ...           9 months ago
  • 2.6.0                                ...           a year ago
  • 2.5.0                                ...           a year ago
  • 2.4.0                                ...           a year ago
  • 2.3.15                                ...           2 years ago
  • 2.3.14                                ...           2 years ago
  • 2.3.13                                ...           2 years ago
  • 2.3.8                                ...           3 years ago
  • 2.3.6                                ...           4 years ago
  • 2.3.5                                ...           4 years ago
  • 2.3.4                                ...           4 years ago
  • 2.3.3                                ...           4 years ago
  • 2.3.2                                ...           4 years ago
  • 2.3.0                                ...           4 years ago
  • 2.2.0                                ...           4 years ago
  • 2.1.9                                ...           4 years ago
  • 2.1.8                                ...           5 years ago
  • 2.1.7                                ...           5 years ago
  • 2.1.6                                ...           5 years ago
  • 2.1.5                                ...           5 years ago
  • 2.1.4                                ...           5 years ago
  • 2.1.3                                ...           5 years ago
  • 2.1.0                                ...           5 years ago
  • 2.0.44                                ...           5 years ago
  • 2.0.38                                ...           5 years ago
  • 2.0.37                                ...           5 years ago
  • 2.0.36                                ...           5 years ago
  • 2.0.32                                ...           6 years ago
  • 2.0.29                                ...           6 years ago
  • 2.0.27                                ...           6 years ago
  • 2.0.26                                ...           6 years ago
  • 2.0.25                                ...           6 years ago
  • 2.0.23                                ...           6 years ago
  • 2.0.17                                ...           6 years ago
  • 2.0.13                                ...           6 years ago
  • 2.0.12                                ...           6 years ago
  • 2.0.11                                ...           6 years ago
  • 2.0.8                                ...           6 years ago
  • 2.0.7                                ...           6 years ago
  • 2.0.7-alpha.1                                ...           6 years ago
  • 2.0.5                                ...           6 years ago
  • 2.0.4                                ...           6 years ago
  • 2.0.3                                ...           7 years ago
  • 2.0.1                                ...           7 years ago
Downloads
Total 91
Today 0
This Week 1
This Month 67
Last Day 0
Last Week 13
Last Month 24
Dependencies (1)
Dev Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE