Checks whether a JavaScript value is negative zero (-0). Useful when you need to distinguish -0 from 0 using a small helper, though the README warns that “=== will lie to you.”
Project status
- Maintenance status: Not clearly actively maintained. The most recent published
updatestag is v2.0.3 on 2024-02-19, and the latest evidence of ongoing work is an upstream push on 2025-12-30, but there are no corresponding taggedupdatesafter 2024-02-19. - Update cadence: Highly infrequent. After v2.0.2 (2021-12-10), the next tagged
updateis v2.0.3 (2024-02-19), indicating long gaps relative to today (2026-06-09).
AI summary generated
Recent updates
v2.0.3
The publisher did not provide any release notes for v2.0.3. Based on the repository changes in this tag, the release primarily adds TypeScript typings and updates packaging, linting, and CI tooling, with no apparent runtime logic changes to `is-negative-zero`.
BreakingFeaturesv2.0.2
No release notes were provided for v2.0.2. The code diff shows this release is primarily maintenance work around CI workflows, linting/coverage configuration, packaging exclusions, and development dependency/scripts updates, with no apparent runtime/API changes to the library itself.
v2.0.1
Release v2.0.1 was published on 2020-12-04, but the publisher did not provide any release notes. As a result, there is no documented information about changes, fixes, or potential upgrade impact in the provided data.
v2.0.0
Release notes for v2.0.0 are not provided. The code diff shows a behavioral change in the exported function, plus updates to repo tooling (lint scripts, CI matrix, and devDependency version bumps).
v1.0.0
The release notes do not include any documented changes. The only detected code diff updates package metadata and a development dependency.
v0.1.1
Release v0.1.1 contains a very small code change in the exported isNegativeZero function and a package version bump. No release notes were provided by the publisher, so the actual behavioral implications are only visible from the diff.
v0.1.0
Release v0.1.0 updates the is-negative-zero implementation and test coverage. The only functional change in the code diff is tightening the negative zero check, along with broader CI coverage and newer devDependency versions.
v0.0.0
This release (v0.0.0) has no release notes provided by the publisher, so there is no documented information about new features, bug fixes, security updates, or breaking changes. Developers should review the corresponding code changes in the repository and compare tags/commits to determine upgrade impact.