{"name":"is-map","version":"1.0.1","description":"Easily check if a givin object is an ES6 Map","keywords":["map","es6","esnext","harmony","typeof","type","object"],"license":"MIT","author":{"name":"Arthur Verschaeve","email":"contact@arthurverschaeve.be"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/arthurvr/is-map.git"},"scripts":{"test":"node test.js"},"devDependencies":{"ava":"^0.0.4"},"engines":{"node":">=0.12.0"},"gitHead":"8cb38f4fbf7c642ad400b26958a9e60fb79fd8b2","bugs":{"url":"https://github.com/arthurvr/is-map/issues"},"homepage":"https://github.com/arthurvr/is-map#readme","_id":"is-map@1.0.1","_shasum":"74cd3a0bdceae00ae4a316c2aaee6b624a2575a5","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.1","_npmUser":{"name":"arthurvr","email":"contact@arthurverschaeve.be"},"dist":{"shasum":"74cd3a0bdceae00ae4a316c2aaee6b624a2575a5","tarball":"http://registry-npm.ywwl.com/is-map/download/is-map-1.0.1.tgz","integrity":"sha512-BOygy6hymUuoOP/HwZf3sSxHAU+S+Ll58NTZVG1RHMhrSLC43peM2Q2fnxhZEeqFAHWSbAR+fjufOEesrYQqlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAkvBxx0Y1/ZNjUA58mDKCh7ISEUHIWpHuURvcYET5UwIgBrYFBkBldfN6xIEtE3rSWhdaPmTLUx7sAOCqIXWDqsA="}],"size":1497,"noattachment":false,"key":"/is-map/-/is-map-1.0.1.tgz"},"maintainers":[{"name":"arthurvr","email":"contact@arthurverschaeve.be"}],"directories":{},"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":1435874352567,"_cnpm_publish_time":1435874352567,"dist-tags":{"latest":"2.0.3"}}