Package
is-localhost-ip
Checks whether given DNS name or IPv4/IPv6 address belongs to a local machine
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
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
- v3 first release 3.0.0, 18 Jan 2026
- v2 first release 2.0.0, 3 Aug 2022
- v1 first release 1.0.0, 17 Aug 2019
Recent releases
| Version | Published |
|---|---|
| 3.0.1 | 18 Jan 2026 |
| 3.0.0 | 18 Jan 2026 |
| 2.0.0 | 3 Aug 2022 |
| 1.4.0 | 7 Apr 2020 |
| 1.3.0 | 26 Aug 2019 |
| 1.2.0 | 25 Aug 2019 |
| 1.1.0 | 23 Aug 2019 |
| 1.0.0 | 17 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- jsDelivr
https://cdn.jsdelivr.net/npm/is-localhost-ip@3.0.1/ - unpkg
https://unpkg.com/is-localhost-ip@3.0.1/ - esm.sh
https://esm.sh/is-localhost-ip@3.0.1
Indexability: Indexed.