pem2jwk
v1.0.2
Published
pem2jwk ====
Downloads
1,504
Readme
pem2jwk
Convert a PEM key into a JWK (key). Works for both RSA key and Elliptical Curve Keys but not DSA keys.
var pem2jwk = require('pem2jwt');
var jwt = pem2jwk(fs.readFileSync('./path/to/key.pem'));