$ npm install @peculiar/asn1-pfx
@peculiar/asn1-pfxASN.1 schema for PKCS #12 personal information exchange structures defined in RFC 7292.
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.
npm install @peculiar/asn1-pfx
v3 is ESM-only and requires Node.js ^20.19.0 || >=22.12.0 (was >=14). CommonJS code can still require("@peculiar/asn1-pfx") on these versions; Node.js 22.0–22.11 can't. The public API is unchanged. See the full notes.
"module": "node20" or "nodenext" (node16 fails with TS1479). ESM and bundler setups need no changes.transformIgnorePatterns doesn't exclude the @peculiar/* packages and asn1js.@peculiar/asn1-pfx/build/...) are blocked by exports; import from @peculiar/asn1-pfx.@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.© 2010 - cnpmjs.org x YWFE | Home | YWFE