{"library":"express-ip-filter-middleware","type":"library","category":null,"description":"express-ip-filter-middleware is an Express.js middleware designed for robust access control, enabling developers to filter incoming requests based on IP addresses or CIDR blocks. It leverages Node.js's built-in `net.BlockList` for efficient management of allowed and denied IP ranges. The current stable version is 2.0.2, with recent releases primarily focusing on dependency updates, indicating an active maintenance cadence. Key differentiators include its explicit `whitelist` and `blacklist` modes, which mimic Apache's `mod_access` behavior, offering precise control over how allow and deny rules interact. It also provides an `ipOverride` option for custom IP address extraction, making it flexible for environments behind proxies or load balancers.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript","express","expressjs","middleware","ip","filter","IP address","access","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-ip-filter-middleware","imports":["import { ipFilterMiddleware } from 'express-ip-filter-middleware';","import { BlockList } from 'node:net';","import express from 'express';"]},{"cmd":"yarn add express-ip-filter-middleware","imports":[]},{"cmd":"pnpm add express-ip-filter-middleware","imports":[]}],"homepage":null,"github":"https://github.com/sjinks/express-ip-filter-middleware","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-ip-filter-middleware","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/express-ip-filter-middleware/compatibility"}}