{"_id":"is-set","_rev":"8954","name":"is-set","description":"Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"ljharb","email":""},{"name":"npm:ljharb","email":""}],"time":{"modified":"2023-03-20T07:17:47.000Z","created":"2015-02-18T11:22:30.744Z","2.0.2":"2020-12-13T21:44:53.655Z","2.0.1":"2019-12-17T20:55:38.219Z","2.0.0":"2019-11-12T20:23:28.781Z","1.0.0":"2015-02-18T11:22:30.744Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/inspect-js/is-set.git"},"versions":{"2.0.2":{"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":{"shasum":"90755fa4c2562dc1c5d4024760d6119b94ca18ec","size":5318,"noattachment":false,"key":"/is-set/-/is-set-2.0.2.tgz","tarball":"http://name.csiicloud.com:7001/is-set/download/is-set-2.0.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""},{"name":"npm:ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-set_2.0.2_1607895893536_0.8619604098051108"},"_hasShrinkwrap":false,"publish_time":1607895893655,"_cnpm_publish_time":1607895893655},"2.0.1":{"name":"is-set","version":"2.0.1","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":"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-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":"^15.0.2","auto-changelog":"^1.16.2","es5-shim":"^4.5.13","es6-shim":"^0.35.5","eslint":"^6.7.2","for-each":"^0.3.3","object-inspect":"^1.7.0","safe-publish-latest":"^1.1.4","tape":"^4.12.0"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"07581a60194b428f276f560d96cb8f73b4ab1db3","_id":"is-set@2.0.1","_nodeVersion":"13.3.0","_npmVersion":"6.13.1","dist":{"shasum":"d1604afdab1724986d30091575f54945da7e5f43","size":4421,"noattachment":false,"key":"/is-set/-/is-set-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/is-set/download/is-set-2.0.1.tgz"},"maintainers":[{"name":"ljharb","email":""},{"name":"npm:ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-set_2.0.1_1576616138132_0.35866745926426513"},"_hasShrinkwrap":false,"publish_time":1576616138219,"_cnpm_publish_time":1576616138219},"2.0.0":{"name":"is-set","version":"2.0.0","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":"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-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":"^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":"b90cab7e75ee3e000c87ea88710ea8c926c6d100","_id":"is-set@2.0.0","_nodeVersion":"13.1.0","_npmVersion":"6.12.1","dist":{"shasum":"ae93342b1de5560c720b4b71599abc799d183cf4","size":3934,"noattachment":false,"key":"/is-set/-/is-set-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-set/download/is-set-2.0.0.tgz"},"maintainers":[{"name":"ljharb","email":""},{"name":"npm:ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-set_2.0.0_1573590208684_0.8370407865245786"},"_hasShrinkwrap":false,"publish_time":1573590208781,"_cnpm_publish_time":1573590208781},"1.0.0":{"name":"is-set","version":"1.0.0","description":"Easily check if a specified object is an ES6 Set","keywords":["set","sets","typeof","type checking","check","es6","harmony"],"license":"MIT","author":{"name":"Arthur Verschaeve","email":"contact@arthurverschaeve.be"},"files":["index.js"],"repository":{"type":"git","url":"https://github.com/arthurvr/is-set"},"scripts":{"test":"node test/test.js"},"devDependencies":{"ava":"^0.0.4"},"engines":{"node":">=0.12.0"},"gitHead":"116e901813c75fd25e724a88fa7b24ec7d8045d2","bugs":{"url":"https://github.com/arthurvr/is-set/issues"},"homepage":"https://github.com/arthurvr/is-set","_id":"is-set@1.0.0","_shasum":"da5f93e39f083bbb4efd2ebf9528aed87ae70028","_from":".","_npmVersion":"2.4.1","_nodeVersion":"1.1.0","_npmUser":{"name":"arthurvr","email":"contact@arthurverschaeve.be"},"maintainers":[{"name":"ljharb","email":""},{"name":"npm:ljharb","email":""}],"dist":{"shasum":"da5f93e39f083bbb4efd2ebf9528aed87ae70028","size":1462,"noattachment":false,"key":"/is-set/-/is-set-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-set/download/is-set-1.0.0.tgz"},"directories":{},"publish_time":1424258550744,"_cnpm_publish_time":1424258550744,"_hasShrinkwrap":false}},"readme":"# is-set <sup>[![Version Badge][2]][1]</sup>\n\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 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[1]: https://npmjs.org/package/is-set\n[2]: https://versionbadg.es/inspect-js/is-set.svg\n[5]: https://david-dm.org/inspect-js/is-set.svg\n[6]: https://david-dm.org/inspect-js/is-set\n[7]: https://david-dm.org/inspect-js/is-set/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-set#info=devDependencies\n[11]: 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","_attachments":{},"homepage":"https://github.com/inspect-js/is-set#readme","bugs":{"url":"https://github.com/inspect-js/is-set/issues"},"license":"MIT"}