UNPKG

@nartix/next-csrf

Version:

A CSRF protection middleware for Next.js

41 lines (40 loc) 808 B
{ "name": "@nartix/next-csrf", "version": "0.1.3", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "description": "A CSRF protection middleware for Next.js", "private": false, "scripts": { "test": "echo \"All tests passed\" && exit 0", "dev": "tsc --watch", "build": "tsc" }, "publishConfig": { "access": "public" }, "keywords": [ "nextjs", "middleware", "csrf", "next-csrf", "edge-token" ], "repository": { "type": "git", "url": "git+https://github.com/nartix/next-csrf.git" }, "author": "Feroz Faiz", "license": "MIT", "devDependencies": { "jest": "^29.7.0", "typescript": "latest" }, "dependencies": { "@nartix/edge-token": "*" }, "peerDependencies": { "next": ">=15.0.0" } }