@pq-jwt/core
Advanced tools
+11
-0
| # Changelog | ||
| ## 1.0.4 — 2026-05-16 | ||
| ### Fixed | ||
| - Add `types` to `package.json` `exports` for TypeScript 5+ (`NodeNext` / `Bundler` resolution) | ||
| - Ship `src/index.d.ts` explicitly in the npm package | ||
| ## 1.0.3 — 2026-05-16 | ||
| - Published under `@pq-jwt/core` org scope | ||
| ## 1.0.0 — 2025-05-16 | ||
@@ -4,0 +15,0 @@ |
+12
-6
| { | ||
| "name": "@pq-jwt/core", | ||
| "version": "1.0.3", | ||
| "version": "1.0.4", | ||
| "description": "Post-quantum JWT library using NIST-standardized ML-DSA and SLH-DSA. Drop-in successor to RS256/ES256.", | ||
@@ -10,2 +10,3 @@ "type": "module", | ||
| ".": { | ||
| "types": "./src/index.d.ts", | ||
| "import": "./src/index.mjs", | ||
@@ -40,3 +41,4 @@ "default": "./src/index.mjs" | ||
| "files": [ | ||
| "src/", | ||
| "src/index.mjs", | ||
| "src/index.d.ts", | ||
| "README.md", | ||
@@ -47,13 +49,17 @@ "LICENSE", | ||
| "types": "./src/index.d.ts", | ||
| "scripts": { | ||
| "test": "node test/test.mjs", | ||
| "test:ecosystem": "node test/ecosystem/run.mjs" | ||
| }, | ||
| "engines": { | ||
| "node": ">=16.0.0" | ||
| "node": ">=20.19.0" | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/ruhil6789/pq-jwt.git" | ||
| "url": "https://github.com/pq-jwt/PQ-JWT.git" | ||
| }, | ||
| "bugs": { | ||
| "url": "https://github.com/ruhil6789/pq-jwt/issues" | ||
| "url": "https://github.com/pq-jwt/PQ-JWT/issues" | ||
| }, | ||
| "homepage": "https://github.com/ruhil6789/pq-jwt#readme" | ||
| "homepage": "https://github.com/pq-jwt/PQ-JWT#readme" | ||
| } |
+19
-4
@@ -1,4 +0,7 @@ | ||
| # PQ-JWT - Post-Quantum JWT Node.js Library | ||
| # PQ-JWT - Universal Post-Quantum JWT Library | ||
| [](https://github.com/ruhil6789/pq-jwt/actions/workflows/ci.yml) | ||
| [](https://npmjs.com/package/@pq-jwt/core) | ||
| [](https://github.com/pq-jwt/PQ-JWT/actions) | ||
| [](https://npmjs.com/package/@pq-jwt/core) | ||
| [](LICENSE) | ||
@@ -9,2 +12,14 @@ A comprehensive, production-ready JavaScript/Node.js library for generating, managing, signing, and verifying **Post-Quantum Cryptography (PQC) JSON Web Tokens (JWTs)**. It acts as a drop-in successor to broken RS256/ES256 libraries. | ||
| ## Ecosystem | ||
| | Package | Description | | ||
| | --------------------------------------------------------- | -------------------------------------------- | | ||
| | [`@pq-jwt/core`](https://npmjs.com/package/@pq-jwt/core) | This library — sign, verify, ML-DSA, SLH-DSA | | ||
| | [`PQ-JWT-Demo`](https://github.com/pq-jwt/PQ-JWT-Demo) | Full demo — Express, MongoDB, TypeScript, UI | | ||
| ## Author | ||
| **Sachin Ruhil** · [github.com/ruhil6789](https://github.com/ruhil6789) | ||
| npm: [npmjs.com/~ruhil6789](https://www.npmjs.com/~ruhil6789) | ||
| --- | ||
@@ -14,3 +29,3 @@ | ||
| - **Zero Native Dependencies**: Uses pure JS math, running seamlessly in Node.js >= 16 without complex C++ bindings. | ||
| - **Zero Native Dependencies**: Uses pure JS math, running seamlessly in Node.js >= 20.19 without complex C++ bindings. | ||
| - **Post-Quantum Ready**: Implements NIST-standardized ML-DSA (Dilithium) and SLH‑DSA (SPHINCS+) signature algorithms. | ||
@@ -27,3 +42,3 @@ - **Familiar API**: Syntax identical to classic JWT libraries (`sign()`, `verify()`, `decode()`, `refresh()`). | ||
| - Node.js 16.0.0 or higher | ||
| - Node.js 20.19.0 or higher | ||
@@ -30,0 +45,0 @@ --- |
+2
-2
| /** | ||
| * @package @pq-jwt/core | ||
| * @author Sachin Ruhil <sachinruhil11@gmail.com> | ||
| * @version 1.0.2 | ||
| * @version 1.0.4 | ||
| * @license MIT | ||
| * @description Post-quantum JWT library — NIST FIPS 204 (ML-DSA) + FIPS 205 (SLH-DSA) | ||
| * @copyright 2025 Sachin Ruhil. All rights reserved. | ||
| * @see https://github.com/ruhil6789/PQ-JWT | ||
| * @see https://github.com/pq-jwt/PQ-JWT | ||
| */ | ||
@@ -10,0 +10,0 @@ |
+2
-2
| /** | ||
| * @package @pq-jwt/core | ||
| * @author Sachin Ruhil <sachinruhil11@gmail.com> | ||
| * @version 1.0.2 | ||
| * @version 1.0.4 | ||
| * @license MIT | ||
| * @description Post-quantum JWT library — NIST FIPS 204 (ML-DSA) + FIPS 205 (SLH-DSA) | ||
| * @copyright 2025 Sachin Ruhil. All rights reserved. | ||
| * @see https://github.com/ruhil6789/PQ-JWT | ||
| * @see https://github.com/pq-jwt/PQ-JWT | ||
| */ | ||
@@ -10,0 +10,0 @@ |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
22361
6.08%0
-100%0
-100%214
7.54%