Skip to content
JS
Package

is-localhost-ip

Checks whether given DNS name or IPv4/IPv6 address belongs to a local machine

v3.0.1, 18 Jan 2026MITCommonJSTypes: BundledNode.js utilities
$ npm install is-localhost-ip

Key numbers

As of 25 Sept 2026
Weekly downloads
416k
-2% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 months ago
v3.0.1
GitHub stars
27
3 forks
Open issues / PRs
2 / 0
Contributors
-
Commits, last 52 weeks
17

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 792.5k (3 Mar 2026)Low 255.5k (7 Jul 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

415,995 downloads last week, 1,956,446 in the last month. The 12-month change of -2% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
28 in total
Latest version
3.0.1, 18 Jan 20268 months ago
First published
17 Aug 2019
Last push to GitHub
18 Jan 2026249 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
0
Commits, last 52 weeks
17
Dependents on npm
-

Major versions

  1. v3 first release 3.0.0, 18 Jan 2026
  2. v2 first release 2.0.0, 3 Aug 2022
  3. v1 first release 1.0.0, 17 Aug 2019

Recent releases

VersionPublished
3.0.118 Jan 2026
3.0.018 Jan 2026
2.0.03 Aug 2022
1.4.07 Apr 2020
1.3.026 Aug 2019
1.2.025 Aug 2019
1.1.023 Aug 2019
1.0.017 Aug 2019
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
8.2 kB
Dependencies (0)
None
npm install is-localhost-ip
  • jsDelivrhttps://cdn.jsdelivr.net/npm/is-localhost-ip@3.0.1/
  • unpkghttps://unpkg.com/is-localhost-ip@3.0.1/
  • esm.shhttps://esm.sh/is-localhost-ip@3.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.