npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@pqc-sdk/core

v0.3.9

Published

Post-quantum cryptography SDK for JS/TS (ML-KEM, ML-DSA)

Readme

@pqc-sdk/core

CI npm bundle size license

Post-quantum cryptography for JS/TS with safe defaults and zero configuration. ML-KEM-768 (FIPS 203) + AES-256-GCM for hybrid encryption, ML-DSA-65 (FIPS 204) for signatures. Validated against the official NIST ACVP test vectors.

npm install @pqc-sdk/core
import { pqc } from '@pqc-sdk/core';

const pair = await pqc.keys.generate();
const ciphertext = await pqc.encrypt('secret', pair.publicKey);
const plaintext = await pqc.decrypt(ciphertext, pair.secretKey);

const signer = await pqc.keys.generate({ algorithm: 'ml-dsa-65' });
const signature = await pqc.sign('document', signer.secretKey);
const valid = await pqc.verify('document', signature, signer.publicKey);

console.log(new TextDecoder().decode(plaintext), valid); // "secret" true

Compatibility

| Runtime | Support | Notes | | ------------------ | ------- | ----------------------------------------- | | Node 20+ | ✅ | ESM and CJS | | Cloudflare Workers | ✅ | No nodejs_compat; ~20 KB gzip in bundle | | Deno 2+ | ✅ | npm:@pqc-sdk/core | | Bun | ✅ | | | React Native | ✅ | Requires react-native-get-random-values | | Browsers | ✅ | Any ES2022 target with WebCrypto |

No WASM or native addons: pure TypeScript on top of @noble/post-quantum.

Benchmarks

GitHub Actions ubuntu-latest (x86_64, Node 20), vitest bench means, July 2026:

| Operation | Time | Throughput | | ----------------- | ---------- | ---------- | | keygen ML-KEM-768 | 0.9 ms/op | 1175 ops/s | | encrypt (1 KiB) | 1.0 ms/op | 973 ops/s | | decrypt (1 KiB) | 1.3 ms/op | 743 ops/s | | encrypt (100 KiB) | 3.5 ms/op | 285 ops/s | | decrypt (100 KiB) | 3.7 ms/op | 269 ops/s | | keygen ML-DSA-65 | 2.9 ms/op | 345 ops/s | | sign (1 KiB) | 16.5 ms/op | 60 ops/s | | verify (1 KiB) | 3.2 ms/op | 310 ops/s |

CI re-runs these on every PR and fails on regressions above 2.5x the committed baseline (bench/baseline.json in the repo — see bench/README.md for how the baseline is refreshed).

Documentation

Full documentation at jeloercc.github.io/pqc-sdk.

Security

  • We never implement primitives: ML-KEM/ML-DSA come from @noble/post-quantum and AES-GCM from @noble/ciphers.
  • @noble/post-quantum has no independent audit yet (self-audit 04/2026). As with all JS, there are no strict constant-time guarantees.
  • Security reports: see SECURITY.md — please do not open public issues.

License

MIT