Package Exports
- pemify
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pemify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pemify
Convert certificates to PEM format using OpenSSL.
Currently only supports conversion from DER to PEM.
Installation
$ npm install pemify --saveUsage
const fs = require('fs')
const pemify = require('pemify')
const derCertificate = fs.readFileSync('www.example.org.crt')
pemify.der(derCertificate)
// => -----BEGIN CERTIFICATE-----\nMIIF8 …License
pemify is licensed under the ISC license. See LICENSE
for the full license.