{"name":"is-set","version":"2.0.2","description":"Is this value a JS Set? 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":"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":"npx aud --production"},"repository":{"type":"git","url":"git+https://github.com/inspect-js/is-set.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-set/issues"},"homepage":"https://github.com/inspect-js/is-set#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":"fb6026d7dd4d50288d6dbeb6c53165ade89cc568","_id":"is-set@2.0.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==","shasum":"90755fa4c2562dc1c5d4024760d6119b94ca18ec","tarball":"http://registry-npm.ywwl.com/is-set/download/is-set-2.0.2.tgz","fileCount":12,"unpackedSize":12290,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1otWCRA9TVsSAnZWagAAn3wP/RsZQ/nnY6zfcDimkGX+\nJkjn1vHbY5ZUMUJUVttoJWmUYft3X3EmW+UDyg/tREw6l9VBTmG02UHevTDG\nRhMouLScv6GFUMF23g5rQqjt0VkIxYVTvbwXJMl2JcgbNdWrYCv6rFE46mLY\nm49fYZn1ZxDwejzjM1m/eK/sh4rAz1bIJJKM8zn3vgouMeOohIoGgmgbQAD3\nx3ETFVqqDkIV0SxwalTLib18qJz4QQJ/NUhIxhT3e9u27b+OTiZXHUo0RZUs\nddFW969CfiLrtF+FTCGK3ZWIhOJfvViF4I0hxvEj4vcUaEHlLxDgZ0sX4tpf\nWVbH7zn1l/UIu3sXTiwZGDO+MvSUaTMBD0y5P69DCio16fMWuxfbC4r+7O+6\nX1XZAx/featEx8cUM/k6gOXfyTlfpgKqricXQnINURudvHRK4bZtE7YLM66P\nTUTtSmq8Mm8szBCHKmcfudCdqhxx/STNxlO1hy2Akm434Qp2LAktHH+1l7st\niuqCCyoxAo7VXOXYx9xsyxetdHzspbbE2MTu87fztp3EnFjPaLnEt4Acj2Ff\nF5jt/2OK2pcvsSHji3oSmcnzkHlFth7uv1XO6uErLIqKNXaOu9vhxyiLSw16\n8ZJP0bXU/nbHdNhBBHpO2lPvDZ57CZ1mujp17JGUSAPm1Blvf9eo/ynBmc/C\n+SYJ\r\n=EhDQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICef0WGhAPpfuHKPAshxND7gQFEq6t1SkWsOaoHcdyQQAiAC/4lm70fhlVXSxRpvYRwXP0K+ZaMCnX5663rxBjZ7Gw=="}],"size":5318,"noattachment":false,"key":"/is-set/-/is-set-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-set_2.0.2_1607895893536_0.8619604098051108"},"_hasShrinkwrap":false,"readme":"# is-set <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nIs this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.\n\n## Example\n\n```js\nvar isSet = require('is-set');\nassert(!isSet(function () {}));\nassert(!isSet(null));\nassert(!isSet(function* () { yield 42; return Infinity; });\nassert(!isSet(Symbol('foo')));\nassert(!isSet(1n));\nassert(!isSet(Object(1n)));\n\nassert(!isSet(new Map()));\nassert(!isSet(new WeakSet()));\nassert(!isSet(new WeakMap()));\n\nassert(isSet(new Set()));\n\nclass MySet extends Set {}\nassert(isSet(new MySet()));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/is-set\n[npm-version-svg]: https://versionbadg.es/inspect-js/is-set.svg\n[deps-svg]: https://david-dm.org/inspect-js/is-set.svg\n[deps-url]: https://david-dm.org/inspect-js/is-set\n[dev-deps-svg]: https://david-dm.org/inspect-js/is-set/dev-status.svg\n[dev-deps-url]: https://david-dm.org/inspect-js/is-set#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/is-set.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/is-set.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-set.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-set\n[codecov-image]: https://codecov.io/gh/inspect-js/is-set/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-set/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-set\n[actions-url]: https://github.com/inspect-js/is-set/actions\n","publish_time":1607895893655,"_cnpm_publish_time":1607895893655,"dist-tags":{"latest":"2.0.3"}}