es-get-iterator
npmv1.1.3Get an iterator for any JS language value. Works robustly across all environments, all versions.
Overview
es-get-iterator is an npm package that get an iterator for any JS language value. Works robustly across all environments, all versions. It is extremely widely used, with about 13.3M downloads per week and 1 known dependents in the graph. The latest version is 1.1.3, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need get an iterator for any JS language value. Works robustly across all environments, all versions and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (13.3M weekly downloads).
- Clear open-source license (MIT).
Cons
- Large dependency tree (23 direct dependencies) increases install size and audit surface.
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of es-get-iterator.
Dependencies
Runtime (9)
Dev (14)
Used by
Popular packages that depend on es-get-iterator.
Alternatives to es-get-iterator
Get the first fulfilled promise that satisfies the provided testing function
Immutable Data Collections
Get the first path that exists on disk of multiple paths
JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes
Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Next.js dotenv file loading
Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Firefox 17-26 iterators throw a StopIteration object to indicate "done". This normalizes it.
Frequently installed together
The semantic version parser used by npm.
Store information about any JS value in a side channel. Uses WeakMap if available.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
ES6 spec-compliant RegExp.prototype.flags shim.
Which kind of boxed JS primitive is this?
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Robustly `.call.bind()` a function
Array#isArray for older browsers
ES2015-compliant shim for Object.is - differentiates between -0 and +0
Is this an arguments object? It's a harder question than you think.
Is this value a JS SharedArrayBuffer?
An AST-based pattern checker for JavaScript.
Version history
| Version | Published | License |
|---|---|---|
| 1.1.3latest | 3 years ago | MIT |
| 1.1.2 | 5 years ago | MIT |
| 1.1.1 | 5 years ago | MIT |
| 1.1.0 | 6 years ago | MIT |
| 1.0.2 | 6 years ago | MIT |
| 1.0.1 | 6 years ago | MIT |
| 1.0.0 | 6 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install es-get-iterator?
Run `npm install es-get-iterator` to add es-get-iterator to your npm project.
What license is es-get-iterator released under?
es-get-iterator is distributed under the MIT license.
How popular is es-get-iterator?
es-get-iterator has approximately 13,270,745 downloads per week and 1 known dependent packages.