{ "_id": "is-date-object", "_rev": "8-16fac4432f36754c90ff0652e08e5e03", "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.0.2" }, "versions": { "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": "ljharb@gmail.com" } ], "dist": { "shasum": "0510d9e2831904c731b69b54a6fdc41a1b48bc17", "tarball": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.0.tgz" }, "directories": {} }, "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", "tarball": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz" }, "maintainers": [ { "name": "ljharb", "email": "ljharb@gmail.com" } ], "directories": {} }, "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": { "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", "shasum": "bda736f2cd8fd06d32844e7743bfa7494c3bfd7e", "tarball": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", "fileCount": 11, "unpackedSize": 20447, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+voMCRA9TVsSAnZWagAArB4P/RW9EG79tl03oKyvQoC2\nx2qQwdsHGiqiOopfUokCFm6nM9dCeJ/Zzt+66eY5HRw7RtKrZdB2FjpeXkT6\n3rnLUaUe9DKNhqmXxRFSiU8bXEf4JBSEyCG6u98PMCksTe4o1sU0mm9uLbIn\nuX/il+J7PzlVPskFOEcE4AIvva2czLrezLjtEiPGtXfThUnOf+GO99NlfQgt\nC9NTIFF1XWHhBO/ehSQ4wHiUAxVffVaN01eP8z87tXrprZbVYjvfy2pIdfqm\nWC2nuPbuEALD7G5WgM9vwsPkkZMiQ6FtXk/vk765MnKQxCCSpeV5YvkKX4xV\n7fR1MBkfdI2cWmLwPPEvLzpCJ28Bah6XnFsxlG3K48JRSKPph43ZBfxuSj5j\nPDhBDyar6TU4TPMM3lgOd8LZmt7foXAbmKGr0oydvx0E14m/2tEOWwOELDNm\nAjYbVdo0f88fiMCALgMxSGgTryIwPqQ7YEQAjthHRS/Kz1iGkyVGM+LxNX2K\nSXbfwnyJLsbNqWwY4fOLdM7Ot/bzK130SzQNrPpc1eJKbHKjBGz5rWIfbUrv\nhHQy1y4eTF5NNQ/rBHRX2gRnOt7nOypUQvapS3RjP9pngJsJ5+ybmSxYL2RP\neb/WCDN2YBU5Bt3JQ8WO8ZZ0MpxlsvWX/pQ/jfXXHvEVTiv69BXO8eaEHc9G\nYGI5\r\n=vpR6\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "email": "ljharb@gmail.com", "name": "ljharb" } ], "_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 } }, "readme": "# is-date-object [![Version Badge][2]][1]\n\n[![Build Status][3]][4]\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\n[![browser support][9]][10]\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]: http://versionbadg.es/ljharb/is-date-object.svg\n[3]: https://travis-ci.org/ljharb/is-date-object.svg\n[4]: https://travis-ci.org/ljharb/is-date-object\n[5]: https://david-dm.org/ljharb/is-date-object.svg\n[6]: https://david-dm.org/ljharb/is-date-object\n[7]: https://david-dm.org/ljharb/is-date-object/dev-status.svg\n[8]: https://david-dm.org/ljharb/is-date-object#info=devDependencies\n[9]: https://ci.testling.com/ljharb/is-date-object.png\n[10]: https://ci.testling.com/ljharb/is-date-object\n[11]: https://nodei.co/npm/is-date-object.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/is-date-object.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/is-date-object.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=is-date-object\n", "maintainers": [ { "email": "ljharb@gmail.com", "name": "ljharb" } ], "time": { "modified": "2019-12-19T04:18:22.181Z", "created": "2015-01-28T22:24:27.244Z", "1.0.0": "2015-01-28T22:24:27.244Z", "1.0.1": "2015-09-27T14:34:57.369Z", "1.0.2": "2019-12-19T04:18:19.845Z" }, "homepage": "https://github.com/ljharb/is-date-object#readme", "keywords": [ "Date", "ES6", "toStringTag", "@@toStringTag", "Date object" ], "repository": { "type": "git", "url": "git://github.com/ljharb/is-date-object.git" }, "author": { "name": "Jordan Harband" }, "bugs": { "url": "https://github.com/ljharb/is-date-object/issues" }, "license": "MIT", "readmeFilename": "README.md", "users": { "illuminator": true, "ognjen.jevremovic": true } }