is-map

v2.0.3
Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
map set collection is robust

prepack

npmignore --auto --commentLines=autogenerated

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)")"

prepublishOnly

safe-publish-latest

prepublish

not-in-publish || npm run prepublishOnly

pretest

npm run lint

lint

eslint --ext=js,mjs .

postlint

tsc -p . && attw -P

tests-only

nyc tape 'test/**/*.js'

tests:shims

nyc tape --require=es5-shim --require=es5-shim 'test/**/*.js'

tests:corejs

nyc tape --require=core-js 'test/**/*.js'

test

npm run tests-only && npm run tests:shims && npm run tests:corejs

posttest

aud --production
npm i is-map

Metadata

  • MIT
  • >= 0.4
  • Jordan Harband
  • released 3/8/2024

Downloads

Maintainers