@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.
57 lines (56 loc) • 1.79 kB
JSON
{
"name": "@ssense/auth",
"version": "2.0.1",
"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",
"Authorization",
"Authentication",
"Typescript"
],
"author": "benjaminleessense <benjamin.lee@ssense.com>",
"homepage": "https://github.com/Groupe-Atallah/pkg-node-utils/tree/master/packages/auth#readme",
"license": "ISC",
"exports": {
".": "./lib/index.js"
},
"main": "lib/index.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Groupe-Atallah/pkg-node-utils.git",
"directory": "packages/auth"
},
"scripts": {
"tsc": "rm -rf lib/* && tsc --project tsconfig.build.json",
"test": "jest",
"lint": "eslint . --ext .ts --max-warnings=0",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"bugs": {
"url": "https://github.com/Groupe-Atallah/pkg-node-utils/issues"
},
"types": "lib/index.d.ts",
"dependencies": {
"@ssense/exceptions": "^1.0.0",
"@ssense/http": "^2.1.0",
"@ssense/logger": "^2.0.0",
"@ssense/redis-pubsub": "^2.0.1",
"jsonwebtoken": "^9.0.0",
"zod": "^3.20.6"
},
"devDependencies": {
"@types/jsonwebtoken": "^9.0.1"
},
"engines": {
"node": ">= 14.18"
},
"gitHead": "683aa7ef66bf5038f542d083f03df12d8cc6b5ff"
}