🔏
Typed Verification
21 typed error codes with chain index and structured failure details. Build certificate flows your code can actually reason about.
The zero-dependency TypeScript PKI toolkit for real certificate workflows.
Typed, runnable PKI in a few lines. Install it and mint a self-signed cert right here:
npm install micro509import { createSelfSignedCertificate } from 'micro509';
const { certificate, keyPair } =
await createSelfSignedCertificate({
subject: { commonName: 'example.com' },
validity: { days: 365 },
});
console.log(certificate.pem);
console.log(
`key type: ${keyPair.publicKey.algorithm.name}`,
);