{"name":"is-map","version":"2.0.2","description":"Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","main":"index.js","scripts":{"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)\")\"","prepublish":"safe-publish-latest","pretest":"npm run lint","lint":"eslint --ext=js,mjs .","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"},"repository":{"type":"git","url":"git+https://github.com/inspect-js/is-map.git"},"keywords":["map","set","collection","is","robust"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-map/issues"},"homepage":"https://github.com/inspect-js/is-map#readme","devDependencies":{"@ljharb/eslint-config":"^17.3.0","aud":"^1.1.3","auto-changelog":"^2.2.1","core-js":"^2.6.12","es5-shim":"^4.5.14","es6-shim":"^0.35.6","eslint":"^7.15.0","for-each":"^0.3.3","nyc":"^10.3.2","object-inspect":"^1.9.0","safe-publish-latest":"^1.1.4","tape":"^5.0.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"d76d9443208f4cee581d551c549d4f41bc214b95","_id":"is-map@2.0.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==","shasum":"00922db8c9bf73e81b7a335827bc2a43f2b91127","tarball":"http://registry-npm.ywwl.com/is-map/download/is-map-2.0.2.tgz","fileCount":12,"unpackedSize":12696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1xUGCRA9TVsSAnZWagAAlhUP/09tjk4o9faEbnV8vrQQ\nnuN9t9wQMOrliB5mR6ul60ZrYQE/ScJdTaLzyk167s+B0K2eH63zT7T0qzPg\nId8pk0KisvxhAkbV8V6+w6K/hCASMJEefdx7gcO1OmCjUBnY2T6tXAuHR64i\nIC5v7pFxZdYoQN+HhdhBOEXYFWEY6E30VNgLDyEpG8LscKnFSP2Gojdqj5aW\nI60Kra643D75GWjredO6ExEsJQhAsTsMtRgLQvx2M4itx0M15B3wEF+K96iw\nLocHIqybfzLUd7gbTWmG3+r7xmT/GwUC6yTOP0UVCB4lccn6RudpuqPRd9cE\nW683OHFUTEgdwH3lUn8eef8QYEARDKvIl62+2oBgvehtx95lQt+MykQrt8aO\nARVhQr6xNVUsxLUYVMdvfJaZsClczuRKqHlpaWE3ARNA7qXx4L2B/F/pPWL7\nmyYGkDsMU7g3A/fvZbiG+Gp4kJd7JHyzibe6TxiC748KhNpWzyt1wXXqRLWk\nSiQlLoxsVCbYw+vaBtFHNghr1aSkfk+TyhBzC+lZAf8WcbVC8/0Oqje64U6S\nLa2PbSPYRNc68eeHfCWirC5nn1ZlCEziJ8nSGZWsjQnrhdS5Wn8TIkcF4+1T\niE7lCwNnC+/FKorW0Z02ZgnNi4nxpOoGJuX6VAReSZ4QNO+8pK5wKdgIWFbd\n++cp\r\n=ciHT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDQd+cHIQHllFRVuE3Z18W4ft6kMLY2uvIqXYP+B7cpAiEA/wntwXJr+Oho0LMKSfLXIuTXS9xvDcNb8rxbGr1Ehtw="}],"size":5463,"noattachment":false,"key":"/is-map/-/is-map-2.0.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-map_2.0.2_1607931142208_0.5408367375826266"},"_hasShrinkwrap":false,"readme":"# is-map <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 Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.\n\n## Example\n\n```js\nvar isMap = require('is-map');\nassert(!isMap(function () {}));\nassert(!isMap(null));\nassert(!isMap(function* () { yield 42; return Infinity; });\nassert(!isMap(Symbol('foo')));\nassert(!isMap(1n));\nassert(!isMap(Object(1n)));\n\nassert(!isMap(new Set()));\nassert(!isMap(new WeakSet()));\nassert(!isMap(new WeakMap()));\n\nassert(isMap(new Map()));\n\nclass MyMap extends Map {}\nassert(isMap(new MyMap()));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-map\n[2]: https://versionbadg.es/inspect-js/is-map.svg\n[5]: https://david-dm.org/inspect-js/is-map.svg\n[6]: https://david-dm.org/inspect-js/is-map\n[7]: https://david-dm.org/inspect-js/is-map/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-map#info=devDependencies\n[11]: https://nodei.co/npm/is-map.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/is-map.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-map.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-map\n[codecov-image]: https://codecov.io/gh/inspect-js/is-map/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-map/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-map\n[actions-url]: https://github.com/inspect-js/is-map/actions\n","publish_time":1607931142370,"_cnpm_publish_time":1607931142370,"dist-tags":{"latest":"2.0.3"}}