asn1js
asn1js is a pure JavaScript library implementing this standard. ASN.1 is the basis of all X.509 related data structures and numerous other protocols used on the web
@panva/asn1.js
ASN.1 encoder and decoder for Node.js with no dependencies (fork of asn1.js using native BigInt)