@ssense/auth
Version:
The Auth Module is a combination for an HTTP middleware (compatible with express and restify) and a Typescript decorator. Used together, they allow protection for all the routes of your application, handling user authentication and authorizations.
55 lines • 1.49 kB
JSON
{
"name": "@ssense/auth",
"version": "2.0.2",
"description": "The Auth Module is a combination for an HTTP middleware (compatible with express and restify) and a Typescript decorator. Used together, they allow protection for all the routes of your application, handling user authentication and authorizations.",
"keywords": [
"AuthModule",
"Authentication",
"Authorization",
"Typescript"
],
"homepage": "https://github.com/Groupe-Atallah/pkg-node-utils/tree/master/packages/auth#readme",
"bugs": {
"url": "https://github.com/Groupe-Atallah/pkg-node-utils/issues"
},
"license": "UNLICENSED",
"author": "benjaminleessense <benjamin.lee@ssense.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/Groupe-Atallah/pkg-node-utils.git",
"directory": "packages/auth"
},
"directories": {
"lib": "lib",
"test": "tests"
},
"files": [
"lib"
],
"type": "commonjs",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": "./lib/index.js"
},
"dependencies": {
"jsonwebtoken": "^9.0.3",
"zod": "^3.25.76",
"@ssense/exceptions": "^1.0.1",
"@ssense/http": "^2.7.1",
"@ssense/logger": "^3.7.0",
"@ssense/redis-pubsub": "^2.0.2"
},
"devDependencies": {
"@types/jsonwebtoken": "^9.0.10"
},
"engines": {
"node": ">=18"
},
"scripts": {
"build": "vp pack",
"test": "vp test",
"check": "vp check",
"check:fix": "vp check --fix"
}
}