`is-number` is a JavaScript and Node.js utility that returns `true` for values that are numbers or string representations of finite numbers, otherwise `false`. It is useful for validating regex matches, user input, and parsed strings where it is not always reliable to determine whether a value is truly numeric.
Project status
- Maintenance status: The source appears largely in maintenance mode as of 2026-06-09. The most recent documented
updatesin the provided summary are from 2018, and the last upstream push shown is 2022-09-15. - Update cadence: After several major version bumps from 2015 to 2018 (2.x through 7.0.0), the provided history shows a long gap with no clear recent update cadence.
AI summary generated
Recent updates
7.0.0
v7.0.0 refactors the is-number implementation and updates the README, benchmarks harness, and dev tooling. The release notes section is empty, so the documented change list is unavailable, but the code diff shows both logic refactoring and packaging/tooling changes.
BreakingFeatures6.0.0
Version 6.0.0 updates the core `is-number` logic in `index.js`, along with documentation formatting changes in `README.md` and `.verb.md`. No release notes were provided for this version, so the actual behavior changes must be inferred from the code diff.
5.0.0
Release 5.0.0 was published on 2018-01-29, but no release notes were provided by the publisher. As a result, there is no documented information on new features, breaking changes, bug fixes, security updates, or migration guidance for this version.
4.0.0
Release 4.0.0 is a major version bump with very limited runtime code change, centered on how the `is-number` predicate determines the input type. Release notes were not provided, so the primary way to understand the change is by inspecting the diff, which shows a switch away from `kind-of` to `typeof` plus `instanceof` checks.
3.0.0
Version 3.0.0 updates the is-number implementation and refreshes several dev and tooling files. No publisher release notes were provided, so behavior changes must be inferred from the code diff.
2.1.0
Release 2.1.0 contains mostly metadata, tooling, and CI/lint configuration changes, plus dependency updates and test additions. No release notes were provided by the publisher, so the documented change surface is effectively empty.
Breaking2.0.2
Release 2.0.2 has no publisher-provided release notes. The code change is limited to a small internal refactor of the exported isNumber function, along with a version bump and updated benchmark results.
2.0.1
Release 2.0.1 includes a behavior change to the main exported function in index.js. No release notes were provided, so the only trustworthy source of truth is the code diff, which indicates stricter type checking and updated dependencies and tests.
2.0.0
Release 2.0.0 has no release notes content provided, but the code diff shows a functional behavior change in the main `isNumber` implementation. The tests/benchmarks and documentation were also updated to match the new behavior.
Breaking1.1.0
Release 1.1.0 was published on 2015-01-24, but the publisher did not provide any release notes. As a result, this upgrade cannot be assessed for API compatibility, breaking changes, bug fixes, or security impacts from the provided information alone.