{"name":"is-set","version":"2.0.3","description":"Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","main":"index.js","sideEffects":false,"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)\")\"","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","lint":"eslint --ext=.js,.mjs .","postlint":"tsc -p . && attw -P","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":{"@arethetypeswrong/cli":"^0.15.0","@ljharb/eslint-config":"^21.1.0","@types/for-each":"^0.3.3","@types/object-inspect":"^1.8.4","@types/tape":"^5.6.4","aud":"^2.0.4","auto-changelog":"^2.4.0","core-js":"^2.6.12","es5-shim":"^4.6.7","es6-shim":"^0.35.8","eslint":"=8.8.0","for-each":"^0.3.3","in-publish":"^2.0.1","nyc":"^10.3.2","object-inspect":"^1.13.1","safe-publish-latest":"^2.0.0","tape":"^5.7.5","typescript":"next"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"engines":{"node":">= 0.4"},"_id":"is-set@2.0.3","gitHead":"18c4595689e70093194d2064f80469e36c6b068b","types":"./index.d.ts","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==","shasum":"8ab209ea424608141372ded6e0cb200ef1d9d01d","tarball":"http://registry-npm.ywwl.com/is-set/download/is-set-2.0.3.tgz","fileCount":13,"unpackedSize":19707,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAmET1ZqIyvEHuM7W/C8Ysfgfkew1FukFJ/hnH3Hlx/mAiEAsk97kqHaDRcJvPVUFDGokL3WbqofG/VNiliUlVJzU8Q="}],"size":7653,"noattachment":false,"key":"/is-set/-/is-set-2.0.3.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.3_1709929102999_0.6872523944215372"},"_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":1709929103172,"_cnpm_publish_time":1709929103172,"dist-tags":{"latest":"2.0.3"}}