@waelhabbaldev/next-jwt-auth
Version:
A secure, lightweight JWT authentication solution for Next.js, providing access and refresh token handling, middleware support, and easy React integration.
88 lines (87 loc) • 2.12 kB
JSON
{
"name": "@waelhabbaldev/next-jwt-auth",
"version": "0.4.0-beta",
"description": "A secure, lightweight JWT authentication solution for Next.js, providing access and refresh token handling, middleware support, and easy React integration.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./client": {
"types": "./dist/client.d.ts",
"import": "./dist/client.mjs",
"require": "./dist/client.js"
}
},
"scripts": {
"build": "tsup",
"prepublishOnly": "rm -rf ./dist && bun run build",
"typecheck": "bun tsc --noEmit",
"test": "bun test",
"test:coverage": "bun test --coverage",
"test:e2e": "playwright test"
},
"keywords": [
"nextjs",
"authentication",
"authorization",
"jwt",
"auth",
"security",
"rbac",
"abac",
"session-management",
"access-token",
"refresh-token",
"middleware",
"mfa",
"oauth",
"rate-limiting",
"csrf",
"key-rotation",
"nextjs-auth",
"app-router",
"jose",
"rs256"
],
"author": "Wael Habbal <wael.habbal.dev@gmail.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/waelhabbalDev/next-jwt-auth.git"
},
"homepage": "https://github.com/waelhabbalDev/next-jwt-auth#readme",
"bugs": {
"url": "https://github.com/waelhabbalDev/next-jwt-auth/issues"
},
"icon": "icons/icon.png",
"license": "MIT",
"dependencies": {
"jose": "^6.1.0",
"swr": "^2.3.6",
"uuid": "^13.0.0"
},
"peerDependencies": {
"next": "^15.5.4",
"react": "^19.1.1"
},
"devDependencies": {
"@swc/core": "^1.13.20",
"@types/node": "^20.19.22",
"@types/react": "^18.3.26",
"@types/sinon": "^17.0.4",
"@types/testing-library__react": "^10.2.0",
"bun-types": "^1.3.0",
"eslint": "^8.57.1",
"eslint-config-next": "^15.5.6",
"sinon": "^21.0.0",
"tsup": "8.1.1",
"typescript": "^5.9.3"
}
}