# iterator.prototype

> `Iterator.prototype`, or a shared object to use.

Latest version **1.1.5** (published 2025-01-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install iterator.prototype
pnpm add iterator.prototype
yarn add iterator.prototype
bun add iterator.prototype
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.5 |
| Published | 2025-01-02 |
| First published | 2022-12-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >= 0.4 |
| Dependencies | 6 |
| Unpacked size | 12.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Jordan Harband |
| Maintainers | ljharb |
| Keywords | javascript, ecmascript, iterator, prototype |

## Links

- npm: https://www.npmjs.com/package/iterator.prototype
- Repository: https://github.com/ljharb/Iterator.prototype
- Homepage: https://github.com/ljharb/Iterator.prototype#readme
- Issues: https://github.com/ljharb/Iterator.prototype/issues
- npm.io page: https://npm.io/package/iterator.prototype

## Dependencies (6)

- [get-proto](https://npm.io/package/get-proto.md) ^1.0.0
- [has-symbols](https://npm.io/package/has-symbols.md) ^1.1.0
- [get-intrinsic](https://npm.io/package/get-intrinsic.md) ^1.2.6
- [es-object-atoms](https://npm.io/package/es-object-atoms.md) ^1.0.0
- [set-function-name](https://npm.io/package/set-function-name.md) ^2.0.2
- [define-data-property](https://npm.io/package/define-data-property.md) ^1.1.4

## Recent versions

- 1.1.5 (latest) — 2025-01-02
- 1.1.4 — 2024-12-12
- 1.1.3 — 2024-10-08
- 1.1.2 — 2023-09-14
- 1.1.1 — 2023-08-30
- 1.1.0 — 2022-12-10
- 1.0.1 — 2022-12-09
- 1.0.0 — 2022-12-06

## README

# iterator.prototype <sup>[![Version Badge][npm-version-svg]][package-url]</sup>

[![github actions][actions-image]][actions-url]
[![coverage][codecov-image]][codecov-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

[![npm badge][npm-badge-png]][package-url]

`Iterator.prototype`, or a shared object to use.

## Usage

```javascript
var iterProto = require('iterator.prototype');
var assert = require('assert');

assert.equal(Object.getPrototypeOf(Object.getPrototypeOf([].keys())), iterProto);
```

[package-url]: https://npmjs.org/package/iterator.prototype
[npm-version-svg]: https://versionbadg.es/ljharb/Iterator.prototype.svg
[deps-svg]: https://david-dm.org/ljharb/Iterator.prototype.svg
[deps-url]: https://david-dm.org/ljharb/Iterator.prototype
[dev-deps-svg]: https://david-dm.org/ljharb/Iterator.prototype/dev-status.svg
[dev-deps-url]: https://david-dm.org/ljharb/Iterator.prototype#info=devDependencies
[npm-badge-png]: https://nodei.co/npm/iterator.prototype.png?downloads=true&stars=true
[license-image]: https://img.shields.io/npm/l/iterator.prototype.svg
[license-url]: LICENSE
[downloads-image]: https://img.shields.io/npm/dm/iterator.prototype.svg
[downloads-url]: https://npm-stat.com/charts.html?package=iterator.prototype
[codecov-image]: https://codecov.io/gh/ljharb/Iterator.prototype/branch/main/graphs/badge.svg
[codecov-url]: https://app.codecov.io/gh/ljharb/Iterator.prototype/
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/Iterator.prototype
[actions-url]: https://github.com/ljharb/Iterator.prototype/actions

---
_Source: https://npm.io/package/iterator.prototype · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
