@panva/asn1.js

ASN.1 encoder and decoder for Node.js with no dependencies (fork of asn1.js using native BigInt)

rsa-pem-from-mod-exp

Create RSA Public Key PEM from Modulus and Exponent value in node.js