{"_id":"is-date-object","_rev":"3745024","name":"is-date-object","description":"Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2025-02-13T06:28:20.000Z","created":"2015-01-28T22:24:27.244Z","1.1.0":"2024-12-13T00:04:08.145Z","1.0.5":"2021-08-05T21:22:39.367Z","1.0.4":"2021-05-08T05:24:23.361Z","1.0.3":"2021-05-05T22:25:38.583Z","1.0.2":"2019-12-19T04:18:19.845Z","1.0.1":"2015-09-27T14:34:57.369Z","1.0.0":"2015-01-28T22:24:27.244Z"},"users":{"illuminator":true,"ognjen.jevremovic":true},"author":{"name":"Jordan Harband"},"repository":{"type":"git","url":"git://github.com/inspect-js/is-date-object.git"},"versions":{"1.1.0":{"name":"is-date-object","version":"1.1.0","author":{"name":"Jordan Harband"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","license":"MIT","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"sideEffects":false,"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only && npm run test:corejs","tests-only":"nyc tape 'test/**/*.js'","test:corejs":"nyc tape test-corejs.js","posttest":"npx npm@'>= 10.2' audit --production","lint":"eslint --ext=js,mjs .","postlint":"tsc && attw -P","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-date-object.git"},"keywords":["Date","ES6","toStringTag","@@toStringTag","Date object"],"dependencies":{"call-bound":"^1.0.2","has-tostringtag":"^1.0.2"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.1","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.2","@types/core-js":"^2.5.8","@types/tape":"^5.6.5","auto-changelog":"^2.5.0","core-js":"^3.39.0","encoding":"^0.1.13","eslint":"=8.8.0","in-publish":"^2.0.1","indexof":"^0.0.1","is":"^3.3.0","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"^5.8.0-dev.20241212"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","test-corejs.js"]},"_id":"is-date-object@1.1.0","gitHead":"a22f8d7d60cbddb809da08e4b47ed510b40a2dd9","types":"./index.d.ts","bugs":{"url":"https://github.com/inspect-js/is-date-object/issues"},"homepage":"https://github.com/inspect-js/is-date-object#readme","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"shasum":"ad85541996fc7aa8b2729701d27b7319f95d82f7","size":8567,"noattachment":false,"key":"/is-date-object/-/is-date-object-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-date-object/download/is-date-object-1.1.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-date-object_1.1.0_1734048247957_0.9644553309927046"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-13T00:04:08.145Z","publish_time":1734048248145,"_source_registry_name":"default","_cnpm_publish_time":1734048248145},"1.0.5":{"name":"is-date-object","version":"1.0.5","author":{"name":"Jordan Harband"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","license":"MIT","main":"index.js","scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only && npm run test:corejs","tests-only":"nyc tape 'test/**/*.js'","test:corejs":"nyc tape test-corejs.js","posttest":"aud --production","lint":"eslint .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-date-object.git"},"keywords":["Date","ES6","toStringTag","@@toStringTag","Date object"],"dependencies":{"has-tostringtag":"^1.0.0"},"devDependencies":{"@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.3.0","core-js":"^3.12.0","eslint":"^7.32.0","foreach":"^2.0.5","indexof":"^0.0.1","is":"^3.3.0","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.3.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"61eab012a36b7b5141f7e7dd09a6cdd11008668f","bugs":{"url":"https://github.com/inspect-js/is-date-object/issues"},"homepage":"https://github.com/inspect-js/is-date-object#readme","_id":"is-date-object@1.0.5","_nodeVersion":"16.6.0","_npmVersion":"7.19.1","dist":{"shasum":"0841d5536e724c25597bf6ea62e1bd38298df31f","size":7499,"noattachment":false,"key":"/is-date-object/-/is-date-object-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-date-object/download/is-date-object-1.0.5.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-date-object_1.0.5_1628198559216_0.8308505305234615"},"_hasShrinkwrap":false,"publish_time":1628198559367,"_cnpm_publish_time":1628198559367},"1.0.4":{"name":"is-date-object","version":"1.0.4","author":{"name":"Jordan Harband"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","license":"MIT","main":"index.js","scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only && npm run test:corejs","tests-only":"nyc tape 'test/**/*.js'","test:corejs":"nyc tape test-corejs.js","posttest":"aud --production","lint":"eslint .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-date-object.git"},"keywords":["Date","ES6","toStringTag","@@toStringTag","Date object"],"devDependencies":{"@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.2.1","core-js":"^3.12.0","eslint":"^7.26.0","foreach":"^2.0.5","indexof":"^0.0.1","is":"^3.3.0","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.2.2"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"109b0b23e2fb510cd6b0cbf08d24e5f9ea3528c3","bugs":{"url":"https://github.com/inspect-js/is-date-object/issues"},"homepage":"https://github.com/inspect-js/is-date-object#readme","_id":"is-date-object@1.0.4","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"shasum":"550cfcc03afada05eea3dd30981c7b09551f73e5","size":8594,"noattachment":false,"key":"/is-date-object/-/is-date-object-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-date-object/download/is-date-object-1.0.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-date-object_1.0.4_1620451463248_0.8424227028571616"},"_hasShrinkwrap":false,"publish_time":1620451463361,"_cnpm_publish_time":1620451463361},"1.0.3":{"name":"is-date-object","version":"1.0.3","author":{"name":"Jordan Harband"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","license":"MIT","main":"index.js","scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only","tests-only":"nyc tape 'test/**/*.js'","posttest":"aud --production","lint":"eslint .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-date-object.git"},"keywords":["Date","ES6","toStringTag","@@toStringTag","Date object"],"devDependencies":{"@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.2.1","eslint":"^7.25.0","foreach":"^2.0.5","indexof":"^0.0.1","is":"^3.3.0","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.2.2"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"1a6c7cd1ff9277fc284b65592cd25ee557f14e00","bugs":{"url":"https://github.com/inspect-js/is-date-object/issues"},"homepage":"https://github.com/inspect-js/is-date-object#readme","_id":"is-date-object@1.0.3","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"shasum":"4c0802ae9c8097939ea8001eaae3c502f3dbe72f","size":8412,"noattachment":false,"key":"/is-date-object/-/is-date-object-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-date-object/download/is-date-object-1.0.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-date-object_1.0.3_1620253538326_0.22696927411038126"},"_hasShrinkwrap":false,"publish_time":1620253538583,"_cnpm_publish_time":1620253538583},"1.0.2":{"name":"is-date-object","version":"1.0.2","author":{"name":"Jordan Harband"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run lint","test":"npm run tests-only","tests-only":"node --harmony --es-staging test","posttest":"npx aud","coverage":"covert test/index.js","lint":"eslint .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/ljharb/is-date-object.git"},"keywords":["Date","ES6","toStringTag","@@toStringTag","Date object"],"dependencies":{},"devDependencies":{"@ljharb/eslint-config":"^15.0.2","auto-changelog":"^1.16.2","covert":"^1.1.1","eslint":"^6.7.2","foreach":"^2.0.5","indexof":"^0.0.1","is":"^3.3.0","safe-publish-latest":"^1.1.4","tape":"^4.12.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"e7e895d71f6820547627ce21a719632c17f3700f","bugs":{"url":"https://github.com/ljharb/is-date-object/issues"},"homepage":"https://github.com/ljharb/is-date-object#readme","_id":"is-date-object@1.0.2","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","dist":{"shasum":"bda736f2cd8fd06d32844e7743bfa7494c3bfd7e","size":7501,"noattachment":false,"key":"/is-date-object/-/is-date-object-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-date-object/download/is-date-object-1.0.2.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-date-object_1.0.2_1576729099723_0.5447399920772513"},"_hasShrinkwrap":false,"publish_time":1576729099845,"_cnpm_publish_time":1576729099845},"1.0.1":{"name":"is-date-object","version":"1.0.1","author":{"name":"Jordan Harband"},"description":"Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","license":"MIT","main":"index.js","scripts":{"test":"npm run lint && node --harmony --es-staging test.js && npm run security","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs test.js *.js","eslint":"eslint test.js *.js","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/is-date-object.git"},"keywords":["Date","ES6","toStringTag","@@toStringTag","Date object"],"dependencies":{},"devDependencies":{"foreach":"^2.0.5","is":"^3.1.0","tape":"^4.2.0","indexof":"^0.0.1","covert":"^1.1.0","jscs":"^2.1.1","nsp":"^1.1.0","eslint":"^1.5.1","@ljharb/eslint-config":"^1.2.0","semver":"^5.0.3"},"testling":{"files":"test.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"b03d8e939fec4f139f135a01ff2a3229a424e8fd","bugs":{"url":"https://github.com/ljharb/is-date-object/issues"},"homepage":"https://github.com/ljharb/is-date-object#readme","_id":"is-date-object@1.0.1","_shasum":"9aa20eb6aeebbff77fbd33e74ca01b33581d3a16","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"9aa20eb6aeebbff77fbd33e74ca01b33581d3a16","size":6203,"noattachment":false,"key":"/is-date-object/-/is-date-object-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-date-object/download/is-date-object-1.0.1.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"publish_time":1443364497369,"_cnpm_publish_time":1443364497369,"_hasShrinkwrap":false},"1.0.0":{"name":"is-date-object","version":"1.0.0","author":{"name":"Jordan Harband"},"description":"Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","license":"MIT","main":"index.js","scripts":{"test":"npm run lint && node --harmony --es-staging test.js && npm run security","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs test.js *.js","eslint":"eslint test.js *.js","eccheck":"editorconfig-tools check *.js **/*.js > /dev/null","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/is-date-object.git"},"keywords":["Date","ES6","toStringTag","@@toStringTag","Date object"],"dependencies":{},"devDependencies":{"foreach":"~2.0.5","is":"~2.2.0","tape":"~3.4.0","indexof":"~0.0.1","covert":"1.0.0","jscs":"~1.10.0","editorconfig-tools":"~0.0.1","nsp":"~1.0.0","eslint":"~0.12.0","semver":"~4.2.0"},"testling":{"files":"test.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"8442bb71a894289ac2ff31b4abe65488fb63bb3a","bugs":{"url":"https://github.com/ljharb/is-date-object/issues"},"homepage":"https://github.com/ljharb/is-date-object","_id":"is-date-object@1.0.0","_shasum":"0510d9e2831904c731b69b54a6fdc41a1b48bc17","_from":".","_npmVersion":"2.3.0","_nodeVersion":"1.0.4","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"0510d9e2831904c731b69b54a6fdc41a1b48bc17","size":6804,"noattachment":false,"key":"/is-date-object/-/is-date-object-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-date-object/download/is-date-object-1.0.0.tgz"},"directories":{},"publish_time":1422483867244,"_cnpm_publish_time":1422483867244,"_hasShrinkwrap":false}},"readme":"# is-date-object <sup>[![Version Badge][2]][1]</sup>\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&stars=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","_attachments":{},"homepage":"https://github.com/inspect-js/is-date-object#readme","bugs":{"url":"https://github.com/inspect-js/is-date-object/issues"},"license":"MIT"}