{
  "name": "@exortek/jwe",
  "version": "1.0.2",
  "description": "JSON Web Encryption (JWE) — RFC 7516 / RFC 7518 for Node.js 22+. Compact serialization, RSA-OAEP / ECDH-ES / AES-KW / dir key management, AES-GCM + AES-CBC-HMAC content encryption. Alg + enc allowlist mandatory on decrypt. `RSA1_5` never accepted. Zero-dependency, built on node:crypto.",
  "type": "module",
  "sideEffects": false,
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs"
    },
    "./encrypt": {
      "types": "./dist/encrypt.d.ts",
      "import": "./dist/encrypt.mjs",
      "require": "./dist/encrypt.cjs"
    },
    "./decrypt": {
      "types": "./dist/decrypt.d.ts",
      "import": "./dist/decrypt.mjs",
      "require": "./dist/decrypt.cjs"
    },
    "./decode": {
      "types": "./dist/decode.d.ts",
      "import": "./dist/decode.mjs",
      "require": "./dist/decode.cjs"
    },
    "./json": {
      "types": "./dist/json.d.ts",
      "import": "./dist/json.mjs",
      "require": "./dist/json.cjs"
    }
  },
  "files": [
    "dist",
    "/README.md",
    "/CHANGELOG.md",
    "/LICENSE"
  ],
  "scripts": {
    "build": "rm -rf dist tsconfig.tsbuildinfo && rollup -c rollup.config.js && tsc -p tsconfig.json && rollup -c ../../rollup.dts.config.mjs",
    "build:watch": "rollup -c rollup.config.js --watch",
    "build:types": "tsc -p tsconfig.json",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "test": "node --test 'tests/**/*.test.js'",
    "test:coverage": "node --test --experimental-test-coverage 'tests/**/*.test.js'",
    "clean": "rm -rf dist tsconfig.tsbuildinfo",
    "prepack": "cp ../../LICENSE ./LICENSE"
  },
  "keywords": [
    "backend",
    "security",
    "jwe",
    "jose",
    "jwt",
    "rfc-7516",
    "rfc-7518",
    "encryption",
    "rsa-oaep",
    "ecdh-es",
    "aes-gcm",
    "aes-kw",
    "node-crypto"
  ],
  "license": "MIT",
  "homepage": "https://github.com/ExorTek/auth/tree/master/packages/jwe#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ExorTek/auth.git",
    "directory": "packages/jwe"
  },
  "bugs": {
    "url": "https://github.com/ExorTek/auth/issues"
  },
  "engines": {
    "node": ">=22.0.0"
  },
  "publishConfig": {
    "access": "public"
  }
}