UNPKG

@routup/rate-limit

Version:
63 lines (62 loc) 1.85 kB
{ "name": "@routup/rate-limit", "version": "2.4.1", "description": "Routup rate limiter.", "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist/" ], "scripts": { "build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json", "build:js": "rollup -c", "build": "rimraf ./dist && cross-env NODE_ENV=production npm run build:js && npm run build:types", "test": "cross-env NODE_ENV=test jest --config ./test/jest.config.js", "test:coverage": "cross-env NODE_ENV=test jest --config ./test/jest.config.js --coverage", "lint": "eslint --ext .js,.ts ./src", "lint:fix": "npm run lint -- --fix" }, "author": { "name": "Peter Placzek", "email": "contact@tada5hi.net", "url": "https://github.com/tada5hi" }, "license": "MIT", "keywords": [ "rate", "limit", "request", "rate-limit", "rate-limiter" ], "repository": { "type": "git", "url": "git+https://github.com/Tada5hi/routup.git", "directory": "packages/rate-limit" }, "bugs": { "url": "https://github.com/Tada5hi/routup/issues" }, "homepage": "https://github.com/Tada5hi/routup#readme", "peerDependencies": { "routup": "^4.0.1" }, "devDependencies": { "@types/supertest": "^6.0.2", "routup": "^4.0.1", "supertest": "^7.1.1" }, "publishConfig": { "access": "public" }, "gitHead": "94d729e309c1eec0401afb4d8083f65ce3aa8e0b" }