{"name":"is-map","version":"2.0.0","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 .","tests-only":"node test","posttests-only":"node -e \"require('es5-shim'); require('es6-shim'); require('./test');\"","test":"npm run tests-only","posttest":"npx aud"},"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":"^15.0.1","auto-changelog":"^1.16.2","es5-shim":"^4.5.13","es6-shim":"^0.35.5","eslint":"^6.6.0","for-each":"^0.3.3","object-inspect":"^1.7.0","safe-publish-latest":"^1.1.4","tape":"^4.11.0"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"424e38e9b9ab975561042b78e3b0019031142ab0","_id":"is-map@2.0.0","_nodeVersion":"13.1.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-ptj+FffEGJN9hLuakga2S3mYQt5PVN+w7+fL3SAgxKhlCePSt24Q3fiSozhvphbwCQ0+QPA1rJnLSoS2LnbCVw==","shasum":"1d223ada48a1f5fdb7b3c5c21a45b6a4d48aec3c","tarball":"http://registry-npm.ywwl.com/is-map/download/is-map-2.0.0.tgz","fileCount":9,"unpackedSize":8756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyxS8CRA9TVsSAnZWagAAaEcP+wcrRfT48a1gMEJ8rTO/\n7eKUKCKX15jcK+r2A2Z8r28Qd6SVSC5WVePbBNs/VSqBV1orCLjtFr+SDGaM\nMvXeXbjT+x1rr0Cwkk7eFKu1trqZGv3Yy2V/CbJ8oarUtqQgZdSP2FOoHRp+\nGWz1m0tekYCnY9bRORIwrDytKlbqiz8as7jzXWbiG6KFoUsCPD/YUsiCAsSE\neo1ifRjj65WmzUPpP0srAqx6wTiioQ3qrvySYF2ZmBdBl7cUmN260G2cGNpS\nnzQ+yyoQ0BiIgKPsk6lvBWkcNN6LmyQBYA474ov8lEKWfpRdL93BVeXBKgsG\n1Wj2FoZJdADL8MuMX8znZRE/8khQwkyQY0LNy2Wc6LhYyQfU5Y/zG60IEevk\nq74dFSvGe7+so6JImxfO5TWGbO8Zx/n9LzuuR9+Q7dBkDr54nEbP4W6Kqqiz\nNdAty+N5414eHZxfUtWkY9k0ftslsDX580vdgYg91v9c8c3l0n6CEONwIFWs\nxNPuHEHBXuf9jEvpH8vOsVpL4j6fV/BrCA0Mrfx3NaKDBFuBEPwCQp7QOVr4\nvSAQUQbVAzpYAtKJEExIydZ0Dct384TwpohHwVchVVUU7F3pRRlwAnBXOjdD\nAE16QFNYjYR/2d2nV5dKZKEdYeFbFWgiCN2rcaN7ZslSf14ZhKeiRGCeMb3Z\nGMyR\r\n=htd6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCh+wGezjy90tvFwWHcVmnlIkc695KlHLYcOv5/SkyAYAIgRjJsO4Tn2E3vrXsXXD0o9mqV6Hc1W6Ck48Z+2PjnThM="}],"size":3929,"noattachment":false,"key":"/is-map/-/is-map-2.0.0.tgz"},"maintainers":[{"email":"ljharb@gmail.com","name":"ljharb"}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-map_2.0.0_1573590204580_0.024253520599434975"},"_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":1573590204692,"_cnpm_publish_time":1573590204692,"dist-tags":{"latest":"2.0.3"}}