{
	"name": "express-rate-limit",
	"version": "8.3.1",
	"description": "Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.",
	"author": {
		"name": "Nathan Friedly",
		"url": "http://nfriedly.com/"
	},
	"license": "MIT",
	"homepage": "https://github.com/express-rate-limit/express-rate-limit",
	"repository": {
		"type": "git",
		"url": "git+https://github.com/express-rate-limit/express-rate-limit.git"
	},
	"funding": "https://github.com/sponsors/express-rate-limit",
	"keywords": [
		"express-rate-limit",
		"express",
		"rate",
		"limit",
		"ratelimit",
		"rate-limit",
		"middleware",
		"ip",
		"auth",
		"authorization",
		"security",
		"brute",
		"force",
		"bruteforce",
		"brute-force",
		"attack"
	],
	"type": "module",
	"exports": {
		".": {
			"import": {
				"types": "./dist/index.d.mts",
				"default": "./dist/index.mjs"
			},
			"require": {
				"types": "./dist/index.d.cts",
				"default": "./dist/index.cjs"
			}
		}
	},
	"main": "./dist/index.cjs",
	"module": "./dist/index.mjs",
	"types": "./dist/index.d.ts",
	"files": [
		"dist/",
		"tsconfig.json"
	],
	"engines": {
		"node": ">= 16"
	},
	"scripts": {
		"clean": "del-cli dist/ coverage/ *.log *.tmp *.bak *.tgz",
		"build:cjs": "esbuild --packages=external --platform=node --bundle --target=es2022 --format=cjs --outfile=dist/index.cjs --footer:js=\"module.exports = Object.assign(rateLimit, module.exports);\" source/index.ts",
		"build:esm": "esbuild --packages=external --platform=node --bundle --target=es2022 --format=esm --outfile=dist/index.mjs source/index.ts",
		"build:types": "dts-bundle-generator --out-file=dist/index.d.ts source/index.ts && cp dist/index.d.ts dist/index.d.cts && cp dist/index.d.ts dist/index.d.mts",
		"compile": "run-s clean build:*",
		"docs": "cd docs && mintlify dev",
		"lint:code": "biome check",
		"lint:docs": "prettier --check docs/ *.md",
		"lint": "run-s lint:*",
		"format:code": "biome check --write",
		"format:docs": "prettier --write docs/ *.md",
		"format": "run-s format:*",
		"test:lib": "jest",
		"test:ext": "cd test/external/ && bash run-all-tests",
		"test": "run-s lint test:lib",
		"pre-commit": "lint-staged",
		"prepare": "run-s compile && husky"
	},
	"dependencies": {
		"ip-address": "10.1.0"
	},
	"peerDependencies": {
		"express": ">= 4.11"
	},
	"devDependencies": {
		"@biomejs/biome": "2.4.6",
		"@express-rate-limit/prettier": "1.1.1",
		"@express-rate-limit/tsconfig": "1.0.2",
		"@jest/globals": "30.2.0",
		"@types/express": "5.0.6",
		"@types/jest": "30.0.0",
		"@types/node": "25.3.3",
		"@types/supertest": "7.2.0",
		"del-cli": "7.0.0",
		"dts-bundle-generator": "8.1.2",
		"esbuild": "0.27.3",
		"express": "5.2.1",
		"husky": "9.1.7",
		"jest": "30.2.0",
		"lint-staged": "16.3.2",
		"mintlify": "4.2.392",
		"npm-run-all": "4.1.5",
		"prettier": "3.8.1",
		"ratelimit-header-parser": "0.1.0",
		"supertest": "7.2.2",
		"ts-jest": "29.4.6",
		"ts-node": "10.9.2",
		"typescript": "5.9.3"
	},
	"prettier": "@express-rate-limit/prettier",
	"lint-staged": {
		"*.{js,ts,json}": "biome check --write",
		"*.{md,yaml}": "prettier --write"
	}
}
