UNPKG

@tinyhttp/bot-detector

Version:

Detect bots among users in your tinyhttp app.

65 lines 1.56 kB
{ "name": "@tinyhttp/bot-detector", "version": "2.0.0", "type": "module", "description": "Detect bots among users in your tinyhttp app.", "homepage": "https://tinyhttp.v1rtl.site", "funding": { "type": "individual", "url": "https://github.com/tinyhttp/tinyhttp?sponsor=1" }, "repository": { "type": "git", "url": "https://github.com/tinyhttp/bot-detector.git" }, "types": "./dist/index.d.ts", "exports": "./dist/index.js", "files": [ "dist" ], "keywords": [ "tinyhttp", "node.js", "web framework", "web", "backend", "bot-detector", "bot", "antispam", "bot-detect", "antibot", "security" ], "engines": { "node": ">=14.21.3" }, "author": "v1rtl", "license": "MIT", "dependencies": { "isbot": "^3.6.10" }, "devDependencies": { "@rollup/plugin-typescript": "^11.1.1", "@types/node": "^20.2.5", "@typescript-eslint/eslint-plugin": "^5.59.7", "@typescript-eslint/parser": "^5.59.7", "c8": "^7.13.0", "eslint": "^8.41.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^4.2.1", "prettier": "^2.8.8", "rollup": "^3.23.0", "supertest-fetch": "^1.5.0", "tsm": "^2.3.0", "typescript": "^5.0.4", "uvu": "^0.5.6" }, "scripts": { "build": "rollup -c", "test": "uvu -r tsm", "test:coverage": "c8 --include=src pnpm test", "test:report": "c8 report --reporter=text-lcov > coverage.lcov", "lint": "eslint . --ext=ts", "format": "prettier --check \"./**/*.ts\"" } }