{
  "name": "secure-web-token",
  "version": "3.0.1",
  "description": "A secure, encrypted, device-bound authentication token library for Node.js — the best alternative to JWT with AES-256-GCM encryption, device fingerprinting, and true logout support.",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "require": "./dist/index.js",
      "import": "./dist/index.mjs"
    },
    "./client": {
      "types": "./dist/client.d.ts",
      "import": "./dist/client.mjs",
      "require": "./dist/client.js",
      "default": "./dist/client.js"
    }
  },
  "scripts": {
    "build": "tsc && npx tsc src/client.ts --target ES2020 --module ES2020 --moduleResolution node --declaration false --outDir dist/tmp_esm && mv dist/tmp_esm/client.js dist/client.mjs && rm -rf dist/tmp_esm && node -e \"const fs = require('fs'); fs.writeFileSync('dist/index.mjs', 'import index from \\\"./index.js\\\";\\\\nexport const { sign, verify, refresh, swtMiddleware, RedisStore, computeJwkThumbprint } = index;\\\\nexport default index;\\\\n')\"",
    "prepublishOnly": "npm run build",
    "test": "node test.js"
  },
  "keywords": [
    "jwt-alternative",
    "jwt alternative",
    "replace jwt",
    "better than jwt",
    "jwt replacement",
    "secure token",
    "encrypted token",
    "token encryption",
    "aes-256-gcm",
    "device binding",
    "device-bound token",
    "single device login",
    "session management",
    "session revocation",
    "true logout",
    "authentication",
    "auth",
    "token",
    "security",
    "secure session",
    "httponly cookie",
    "device fingerprint",
    "stateful auth",
    "express auth",
    "nodejs auth",
    "admin auth",
    "saas auth"
  ],
  "author": "Znos",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/MintuSingh07/node-securewebtoken.git"
  },
  "homepage": "https://securewebtoken.vercel.app",
  "bugs": {
    "url": "https://github.com/MintuSingh07/node-securewebtoken/issues"
  },
  "files": [
    "dist"
  ],
  "type": "commonjs",
  "devDependencies": {
    "@types/node": "^25.0.6",
    "cookie-parser": "^1.4.6",
    "express": "^4.19.2",
    "typescript": "^5.9.3"
  }
}