express-user-agent-blocker
Version:
Express middleware for blocking access based on User Agent
69 lines (68 loc) • 1.95 kB
JSON
{
"author": {
"email": "louw@ouq77.kiwi",
"name": "Louw Swart"
},
"bugs": {
"url": "https://github.com/ouq77/express-user-agent-blocker/issues"
},
"dependencies": {},
"description": "Express middleware for blocking access based on User Agent",
"devDependencies": {
"@hapi/code": "8.0.2",
"@hapi/lab": "24.1.0",
"@types/debug": "4.1.5",
"@types/express": "4.17.9",
"chai": "4.2.0",
"coveralls": "3.1.0",
"debug": "4.1.1",
"mock-req": "0.2.0",
"ncp": "2.0.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.2",
"sinon": "9.2.3",
"sinon-chai": "3.5.0",
"sinon-express-mock": "2.2.1",
"tslint": "6.1.2",
"typescript": "4.1.3"
},
"engines": {
"node": ">=8",
"npm": ">=5"
},
"keywords": [
"blocker",
"express",
"user-agent"
],
"license": "MIT",
"main": "lib/index.js",
"name": "express-user-agent-blocker",
"peerDependencies": {
"debug": ">=4.1.1",
"express": ">=4.17.1"
},
"repository": {
"type": "git",
"url": "git@github.com:ouq77/express-user-agent-blocker.git"
},
"scripts": {
"build": "npm-run-all build:*",
"build:clean": "npm run clean",
"build:lint": "npm run lint",
"build:compile": "tsc -p tsconfig.json",
"build:copy": "ncp compiled/src/ lib/",
"clean": "npm-run-all clean:*",
"clean:compiled": "rimraf compiled/*",
"clean:coverage": "rimraf coverage/*",
"clean:lib": "rimraf lib/*",
"lint": "tslint 'src/**/*.ts' 'test/**.*.ts'",
"prepare": "npm run test",
"test": "npm-run-all build:* test:*",
"test:run": "lab -c -S -v ./compiled/test",
"test:coverage-html": "lab -c -S -v --coverage-exclude compiled/test -r html -o ./coverage/coverage.html ./compiled/test",
"test:coverage-lcov": "lab -c -S -v --coverage-exclude compiled/test -r lcov -o ./coverage/lcov.info ./compiled/test"
},
"types": "lib/index.d.ts",
"version": "2.0.4"
}