is-set
npmv2.0.3TypeScriptIs this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Overview
is-set is an npm package that is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag. The latest version is 2.0.3, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (18 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of is-set.
Dependencies
Dev (18)
Used by
Popular packages that depend on is-set.
Alternatives to is-set
Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Get the first fulfilled promise that satisfies the provided testing function
Trace the original position through a source map
Generate source maps
Store information about any JS value in a side channel. Uses WeakMap if available.
Remap sequential sourcemaps through transformations to point at the original source code
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Parses set-cookie headers into objects
Get an iterator for any JS language value. Works robustly across all environments, all versions.
{G,S}et object values using MongoDB-like path notation
Store information about any JS value in a side channel. Uses WeakMap if available.
Frequently installed together
An AST-based pattern checker for JavaScript.
string representations of objects in node and the browser
Get and robustly cache all JS language-level intrinsics at first require time
Robustly `.call.bind()` a function
Array#isArray for older browsers
Is this an arguments object? It's a harder question than you think.
Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Firefox 17-26 iterators throw a StopIteration object to indicate "done". This normalizes it.
Version history
| Version | Published | License |
|---|---|---|
| 2.0.3latest | 2 years ago | MIT |
| 2.0.2 | 5 years ago | MIT |
| 2.0.1 | 6 years ago | MIT |
| 2.0.0 | 6 years ago | MIT |
| 1.0.0 | 11 years ago | MIT |
Maintainers
Keywords
Funding
Frequently asked questions
How do I install is-set?
Run `npm install is-set` to add is-set to your npm project.
What license is is-set released under?
is-set is distributed under the MIT license.
How popular is is-set?
is-set has approximately 0 downloads per week and 1 known dependent packages.