is-date-object is a lightweight npm package designed to precisely determine if a given JavaScript value is a Date object. It avoids false positives by checking the internal [[Class]] property. This ensures accurate identification, distinguishing genuine Date instances from other objects that might superficially resemble them. This utility is crucial for building robust and reliable applications where precise type checking of Date objects is necessary for data validation and manipulation. It's browser and Node.js compatible.
The npm package is-date-object shows irregular release frequency. Initial releases occurred in 2015, with version 1.0.0 in January and 1.0.1 in September. There was a single release in December 2019 (1.0.2), followed by a few releases in 2021 (1.0.3, 1.0.4, 1.0.5 in May and August). The latest version, 1.1.0, was released in December 2024. Months with releases are interspersed with long stretches of no updates.
NPM package "is-date-object" downloads show a generally increasing trend from March 2024 to August 2025, peaking in June and July 2025, with a significant drop in September 2025, likely due to incomplete data for the current month.