PKI.js is a pure JavaScript library implementing the formats that are used in PKI applications (signing, encryption, certificate requests, OCSP and TSP requests/responses). It is built on WebCrypto (Web Cryptography API) and requires no plug-ins.
PKIjs provides a Typescript implementation of the most common formats and algorithms needed to build PKI-enabled applications
To install the stable version:
npm install --save pkijs
This assumes you are using npm as your package manager.
You can find the PKI.js documentation on the website.
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contribution.