ipaddr.js
npmv2.4.0TypeScriptA library for manipulating IPv4 and IPv6 addresses in JavaScript.
Overview
ipaddr.js is an npm package that a library for manipulating IPv4 and IPv6 addresses in JavaScript. It is extremely widely used, with about 108.5M downloads per week and 1 known dependents in the graph. The latest version is 2.4.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a library for manipulating IPv4 and IPv6 addresses in JavaScript and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (108.5M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Lean dependency tree (2 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of ipaddr.js.
Dependencies
Dev (2)
Used by
Popular packages that depend on ipaddr.js.
Alternatives to ipaddr.js
Frequently installed together
An AST-based pattern checker for JavaScript.
Parse HTTP X-Forwarded-For header
TypeScript definitions for node
Parse HTTP X-Forwarded-For header
node's assert.deepEqual algorithm
Version history
| Version | Published | License |
|---|---|---|
| 2.4.0latest | 2 months ago | MIT |
| 2.3.0 | 7 months ago | MIT |
| 2.2.0 | 2 years ago | MIT |
| 2.1.0 | 3 years ago | MIT |
| 2.0.1 | 5 years ago | MIT |
| 2.0.0 | 6 years ago | MIT |
| 1.9.1 | 7 years ago | MIT |
| 1.9.0 | 7 years ago | MIT |
| 1.8.1 | 8 years ago | MIT |
| 1.8.0 | 8 years ago | MIT |
| 1.7.0 | 8 years ago | MIT |
| 1.6.0 | 8 years ago | MIT |
| 1.5.4 | 8 years ago | MIT |
| 1.5.3 | 8 years ago | MIT |
| 1.5.2 | 9 years ago | MIT |
| 1.5.1 | 9 years ago | MIT |
| 1.5.0 | 9 years ago | MIT |
| 1.4.0 | 9 years ago | MIT |
| 1.3.0 | 9 years ago | MIT |
| 1.2.0 | 10 years ago | MIT |
Maintainers
Frequently asked questions
How do I install ipaddr.js?
Run `npm install ipaddr.js` to add ipaddr.js to your npm project.
What license is ipaddr.js released under?
ipaddr.js is distributed under the MIT license.
How popular is ipaddr.js?
ipaddr.js has approximately 108,494,328 downloads per week and 1 known dependent packages.