ipaddr.js is a JavaScript library for manipulating IPv4 and IPv6 addresses. It helps you parse and validate addresses, check them against CIDR ranges, classify them into named ranges like loopback and private, convert between IPv4 and IPv6 forms, and work with raw byte arrays.
Project status
- Actively maintained, with recent upstream activity (last push on 2026-05-08) and subsequent versioned updates (v2.4.0 on 2026-05-03).
- Apparent update cadence is moderate, with v2.4.0 following v2.3.0 by about 5 months (2025-11-28 to 2026-05-03), and a longer gap to v2.2.0 (about 15 months from 2024-04-20 to 2025-11-28).
AI summary generated Today
Recent updates
v2.4.0
1 month agov2.4.0 updates ipaddr.js to recognize additional IPv6 “special range” classifications based on newer RFCs, and adjusts some existing classifications. It also removes Bower distribution support artifacts. No publisher release notes were provided for this version, so the primary source of truth is the code diff and repo docs.
BreakingFeaturesv2.3.0
6 months agoRelease v2.3.0 adds a new IPv4 validation helper, ipaddr.IPv4.isValidCIDRFourPartDecimal, intended to validate CIDR strings whose IP portion is strictly in conventional four-part decimal form. In addition, the repository updated linting configuration (ESLint v9, flat config) and adjusted what files are published to npm. No release notes were provided by the publisher.
Featuresv2.2.0
4/20/2024Release v2.2.0 was published on 2024-04-20, but the publisher did not provide any release notes. No explicit details are available about new features, bug fixes, breaking changes, security updates, or migration requirements from the provided material.
v2.1.0
5/23/2023v2.1.0 updates ipaddr.js internals for IPv6 string formatting and expands the library's knowledge of special/reserved address blocks. The release notes from the publisher were not provided, so the behavioral changes below are not documented there.
BreakingFeaturesv2.0.1
6/9/2021Release v2.0.1 contains no published release notes from the publisher (release notes field is empty). The code diff shows version bumps plus new IPv6 CIDR-related helper APIs and corresponding type definitions and tests.
Featuresv2.0.0
8/17/2020Release v2.0.0 has no publisher-provided release notes (none were included in the release description). The diff shows a major refactor and tooling modernization, including a rewrite of lib/ipaddr.js and updates to typings and test/build infrastructure.
Featuresv1.9.1
7/3/2019This release (v1.9.1) provides almost no publisher release notes (none provided). The changes visible in the diff are limited to TypeScript definition updates (lib/ipaddr.js.d.ts), a README behavior/type documentation adjustment, and a small devDependency change.
Breakingv1.9.0
2/10/2019Release v1.9.0 (2019-02-10) has no publisher release notes provided. The code changes mainly add new IPv6 string formatting methods aligned with RFC 5952 and fixed-width formatting, and update the minified/bundled output and tests accordingly.
Featuresv1.8.1
7/31/2018Release v1.8.1 does not include any provided release notes. The actual diff is limited to a small update to the TypeScript type definitions for ipaddr.js, plus version bumps in metadata files.
v1.8.0
7/10/2018Release v1.8.0 was published on 2018-07-10, but no release notes were provided by the publisher. As a result, the changes included in this version (new features, bug fixes, breaking changes, security or dependency updates) are not documented here.