es-shims

es-shims/set

An ESnext spec-compliant `Set` shim/polyfill/replacement that works as far down as ES3.

JavaScript
1
1
MIT License
Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of es-shims/set

Account's avatar
Command line tool for generating a changelog from git tags and commit history
Account's avatar
Detect if we were run as a result of `npm publish`
Account's avatar
Command line tool for creating or updating a .npmignore file based on .gitignore.
Account's avatar
the Istanbul command line interface
Account's avatar
tap-producing test harness for node and browsers
Account's avatar
Robustly `.call.bind()` a function
Account's avatar
Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.
Account's avatar
Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.
Account's avatar
ECMAScript spec abstract operations.
Account's avatar
An ES-spec-compliant Map shim/polyfill/replacement that works as far down as ES3
Account's avatar
A helper to optimistically set Symbol.toStringTag, when possible.
Account's avatar
A better forEach
Account's avatar
Does this JS environment support the `name` property on functions?
Account's avatar
Get and robustly cache all JS language-level intrinsics at first require time
Account's avatar
ECMAScript spec-compliant polyfill/shim for `globalThis`
Account's avatar
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Account's avatar
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
Account's avatar
Determine if the JS environment has Symbol support. Supports spec, or shams.
Account's avatar
ES spec-like internal slots
Account's avatar
Iterate any iterable JS value. Works robustly in all environments, all versions.
Account's avatar
ES2017 spec-compliant Object.entries shim.
Account's avatar
Firefox 17-26 iterators throw a StopIteration object to indicate "done". This normalizes it.
Account's avatar
Loosely test a package's compliance with the es-shim API
Account's avatar
My shareable eslint config
Account's avatar
A robust & optimized `Array.from` polyfill, based on the ECMAScript 6 specification.
Account's avatar
Convert encodings, uses iconv-lite
Account's avatar
Get an iterator for any JS language value. Works robustly across all environments, all versions.
Account's avatar
Does the current JS environment have strict mode? ES5+ should; but let's not assume.
Account's avatar
string representations of objects in node and the browser
Account's avatar
An Object.keys replacement, in case Object.keys is not available. From https://github.com/es-shims/es5-shim
Account's avatar
Ensure that when you `npm publish`, the "latest" tag is only set for the truly latest version.

Support the repos that depend on es-shims/set

Account's avatar
An ESnext spec-compliant `Set.prototype.difference` shim/polyfill/replacement that works as far down as ES3
Account's avatar
An ESnext spec-compliant `Set.prototype.isSubsetOf` shim/polyfill/replacement that works as far down as ES3
Account's avatar
An ESnext spec-compliant `Set.prototype.intersection` shim/polyfill/replacement that works as far down as ES3
Account's avatar
An ESnext spec-compliant `Set.prototype.union` shim/polyfill/replacement that works as far down as ES3
Account's avatar
An ESnext spec-compliant `Set.prototype.isSupersetOf` shim/polyfill/replacement that works as far down as ES3
Account's avatar
An ESnext spec-compliant `Set.prototype.isDisjointFrom` shim/polyfill/replacement that works as far down as ES3
Account's avatar
An ESnext spec-compliant `Set.prototype.symmetricDifference` shim/polyfill/replacement that works as far down as ES3
Account's avatar
Set, but safe from prototype modifications.

Top contributors

ljharb's profile
ljharb
65 contributions
nicolo-ribaudo's profile
nicolo-ribaudo
4 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet