is-date-object

v1.0.5
Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Date ES6 toStringTag @@toStringTag Date object

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)")"
npm i is-date-object

Metadata

  • MIT
  • >= 0.4
  • Jordan Harband
  • released 8/5/2021

Downloads

Maintainers