# symbol-iterator-x

> The system Symbol.iterator (real or fake)

Latest version **1.1.2** (published 2019-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install symbol-iterator-x
pnpm add symbol-iterator-x
yarn add symbol-iterator-x
bun add symbol-iterator-x
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2019-08-28 |
| First published | 2019-08-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=8.11.4 |
| Dependencies | 2 |
| Unpacked size | 119.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Graham Fairweather |
| Maintainers | xotic750 |
| Keywords | symbol, iterator, module, javascript, nodejs, browser |

## Links

- npm: https://www.npmjs.com/package/symbol-iterator-x
- Repository: https://github.com/Xotic750/symbol-iterator-x
- Issues: https://github.com/Xotic750/symbol-iterator-x/issues
- npm.io page: https://npm.io/package/symbol-iterator-x

## Dependencies (2)

- [is-nil-x](https://npm.io/package/is-nil-x.md) ^2.1.1
- [has-symbol-support-x](https://npm.io/package/has-symbol-support-x.md) ^2.1.2

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.1.2 (latest) — 2019-08-28
- 1.1.1 — 2019-08-20
- 1.1.0 — 2019-08-14
- 1.0.2 — 2019-08-04
- 1.0.1 — 2019-08-04
- 1.0.0 — 2019-08-04

## README

<a
  href="https://travis-ci.org/Xotic750/symbol-iterator-x"
  title="Travis status">
<img
  src="https://travis-ci.org/Xotic750/symbol-iterator-x.svg?branch=master"
  alt="Travis status" height="18">
</a>
<a
  href="https://david-dm.org/Xotic750/symbol-iterator-x"
  title="Dependency status">
<img src="https://david-dm.org/Xotic750/symbol-iterator-x/status.svg"
  alt="Dependency status" height="18"/>
</a>
<a
  href="https://david-dm.org/Xotic750/symbol-iterator-x?type=dev"
  title="devDependency status">
<img src="https://david-dm.org/Xotic750/symbol-iterator-x/dev-status.svg"
  alt="devDependency status" height="18"/>
</a>
<a
  href="https://badge.fury.io/js/symbol-iterator-x"
  title="npm version">
<img src="https://badge.fury.io/js/symbol-iterator-x.svg"
  alt="npm version" height="18">
</a>
<a
  href="https://www.jsdelivr.com/package/npm/symbol-iterator-x"
  title="jsDelivr hits">
<img src="https://data.jsdelivr.com/v1/package/npm/symbol-iterator-x/badge?style=rounded"
  alt="jsDelivr hits" height="18">
</a>
<a
  href="https://bettercodehub.com/results/Xotic750/symbol-iterator-x"
  title="bettercodehub score">
<img src="https://bettercodehub.com/edge/badge/Xotic750/symbol-iterator-x?branch=master"
  alt="bettercodehub score" height="18">
</a>
<a
  href="https://coveralls.io/github/Xotic750/symbol-iterator-x?branch=master"
  title="Coverage Status">
<img src="https://coveralls.io/repos/github/Xotic750/symbol-iterator-x/badge.svg?branch=master"
  alt="Coverage Status" height="18">
</a>

<a name="module_symbol-iterator-x"></a>

## symbol-iterator-x

The system Symbol.iterator (real or fake)

Possible values are.

- Symbol.iterator (real)
- '\_es6-shim iterator\_' (fake)
- '@@iterator' (fake)

**Example**

```js
import $iterator$, {getSymbolIterator} from 'symbol-iterator-x';

const array = [];

typeof array[$iterator$] === 'function'; // true
getSymbolIterator(array) === $iterator$; // true
getSymbolIterator() === undefined; // true
getSymbolIterator(null) === undefined; // true
getSymbolIterator(1) === undefined; // true
```

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