开发者社区> 镜像站> NPM> pem2jwk
pem2jwk
pem2jwk ====
Last updated 2 years ago by cwmma .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pem2jwk 
SYNC missed versions from official npm registry.

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'));

Current Tags

  • 1.0.2                                ...           latest (2 years ago)

2 Versions

  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None