{"id":18277610,"url":"https://github.com/inspect-js/is-date-object","last_synced_at":"2025-04-04T21:09:45.991Z","repository":{"id":26537733,"uuid":"29991041","full_name":"inspect-js/is-date-object","owner":"inspect-js","description":"Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","archived":false,"fork":false,"pushed_at":"2024-12-13T00:03:59.000Z","size":133,"stargazers_count":15,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-28T20:09:49.269Z","etag":null,"topics":["date","is","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inspect-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["ljharb"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":"npm/deep-equal","community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-01-28T22:14:46.000Z","updated_at":"2025-01-24T17:51:11.000Z","dependencies_parsed_at":"2025-01-15T10:11:36.369Z","dependency_job_id":"3d090322-f1e7-48a2-9d4a-4f4bfc777591","html_url":"https://github.com/inspect-js/is-date-object","commit_stats":{"total_commits":90,"total_committers":1,"mean_commits":90.0,"dds":0.0,"last_synced_commit":"db6113c3b98c9be87038d9b11a39166554f6c2b0"},"previous_names":["ljharb/is-date-object"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-date-object","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-date-object/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-date-object/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-date-object/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inspect-js","download_url":"https://codeload.github.com/inspect-js/is-date-object/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249532,"owners_count":20908212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["date","is","javascript"],"created_at":"2024-11-05T12:19:45.797Z","updated_at":"2025-04-04T21:09:45.976Z","avatar_url":"https://github.com/inspect-js.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ljharb","https://tidelift.com/funding/github/npm/deep-equal"],"categories":[],"sub_categories":[],"readme":"# is-date-object \u003csup\u003e[![Version Badge][2]][1]\u003c/sup\u003e\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\nIs this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.\n\n## Example\n\n```js\nvar isDate = require('is-date-object');\nvar assert = require('assert');\n\nassert.notOk(isDate(undefined));\nassert.notOk(isDate(null));\nassert.notOk(isDate(false));\nassert.notOk(isDate(true));\nassert.notOk(isDate(42));\nassert.notOk(isDate('foo'));\nassert.notOk(isDate(function () {}));\nassert.notOk(isDate([]));\nassert.notOk(isDate({}));\nassert.notOk(isDate(/a/g));\nassert.notOk(isDate(new RegExp('a', 'g')));\n\nassert.ok(isDate(new Date()));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-date-object\n[2]: https://versionbadg.es/inspect-js/is-date-object.svg\n[5]: https://david-dm.org/inspect-js/is-date-object.svg\n[6]: https://david-dm.org/inspect-js/is-date-object\n[7]: https://david-dm.org/inspect-js/is-date-object/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-date-object#info=devDependencies\n[11]: https://nodei.co/npm/is-date-object.png?downloads=true\u0026stars=true\n[license-image]: https://img.shields.io/npm/l/is-date-object.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-date-object.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-date-object\n[codecov-image]: https://codecov.io/gh/inspect-js/is-date-object/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-date-object/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-date-object\n[actions-url]: https://github.com/inspect-js/is-date-object/actions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finspect-js%2Fis-date-object","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finspect-js%2Fis-date-object","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finspect-js%2Fis-date-object/lists"}