UNPKG

bauth-js

Version:

A Node.js authentication library for API requests via remote authentication service using Bearer tokens. Compatible with Express and NestJS.

64 lines (63 loc) 1.49 kB
{ "name": "bauth-js", "version": "1.0.0", "description": "A Node.js authentication library for API requests via remote authentication service using Bearer tokens. Compatible with Express and NestJS.", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "bauth-js": "dist/cli.js" }, "scripts": { "build": "tsc", "dev": "tsc --watch", "test": "jest", "test:watch": "jest --watch", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "prepare": "npm run build" }, "keywords": [ "authentication", "auth", "middleware", "express", "nestjs", "bearer-token", "api-auth" ], "author": "Brighty", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/brightyid/bauth-js.git" }, "bugs": { "url": "https://github.com/brightyid/bauth-js/issues" }, "homepage": "https://github.com/brightyid/bauth-js#readme", "files": [ "dist", "README.md" ], "dependencies": { "axios": "^1.6.0", "commander": "^11.0.0" }, "devDependencies": { "@types/node": "^20.0.0", "@types/express": "^4.17.21", "@types/jest": "^29.5.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "jest": "^29.5.0", "ts-jest": "^29.1.0", "typescript": "^5.0.0" }, "peerDependencies": { "express": ">=4.0.0" }, "engines": { "node": ">=16.0.0" } }