UNPKG

@t-om/passport-headerapikey

Version:

Api key authentication strategy for Passport, which only handles headers (not body fields).

46 lines (45 loc) 1.1 kB
{ "name": "@t-om/passport-headerapikey", "description": "Api key authentication strategy for Passport, which only handles headers (not body fields).", "keywords": [ "apikey", "passport", "strategy" ], "author": { "name": "Tom Strudwick", "email": "tomstrudwick78@gmail.com" }, "version": "1.3.3", "repository": { "type": "git", "url": "git://github.com/t-om/passport-headerapikey" }, "license": "MIT", "main": "lib/index", "types": "lib/index.d.ts", "files": [ "lib/" ], "publishConfig": { "access": "public" }, "scripts": { "prepublishOnly": "tsc", "pretest": "tsc && rm -rf testDist/ && tsc --rootDir test --outDir testDist test/**/*.ts", "test": "mocha testDist/* -R nyan --recursive" }, "dependencies": { "passport-strategy": "^1.0.0" }, "devDependencies": { "@types/lodash": "^4.14.144", "@types/mocha": "^5.2.7", "@types/passport-strategy": "^0.2.35", "expect.js": "^0.3.1", "express": "^4.17.1", "mocha": "^6.2.2", "sinon": "^1.17.4", "typescript": "^3.9.10" } }