Skip to content
JS
Package

ip-filter

Validates given IPs (IPv4 and IPv6) using [micromatch][] - glob patterns, RegExp, string or array of globs. If match returns the IP, otherwise null.

v4.0.0, 2 Jul 2022MPL-2.0ESM onlyTypes: NoneFiles and file systems
$ npm install ip-filter

Key numbers

As of 25 Sept 2026
Weekly downloads
2.3k
+57% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
4 years ago
v4.0.0
GitHub stars
486
19 forks
Open issues / PRs
42 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 15.2k (28 Jul 2026)Low 985 (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,340 downloads last week, 9,152 in the last month. The 12-month change of +57% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
4.0.0, 2 Jul 20224 years ago
First published
-
Last push to GitHub
21 Feb 2026215 days before the snapshot
Repository archived
No
Open issues
42
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
7

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=16 <17 || >=18 <19 || >=20
Runtimes
-
Unpacked size (npm)
35 kB
Dependencies (3)
ip-regexmicromatchto-file-path
npm install ip-filter
  • jsDelivrhttps://cdn.jsdelivr.net/npm/ip-filter@4.0.0/
  • unpkghttps://unpkg.com/ip-filter@4.0.0/
  • esm.shhttps://esm.sh/ip-filter@4.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@putout/operator-filesystem10.8k-19 days agoESM only-
@putout/processor-filesystem7.5k-7 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2340 < 10000.