README.md
:seedling: [@iterable-iterator/tee](https://iterable-iterator.github.io/tee)
==
Iterable copy function for JavaScript.
See [docs](https://iterable-iterator.github.io/tee/index.html).
> :warning: Depending on your environment, the code may require
> `regeneratorRuntime` to be defined, for instance by importing
> [regenerator-runtime/runtime](https://www.npmjs.com/package/regenerator-runtime).
```js
import {tee} from '@iterable-iterator/tee';
tee('ABC', 2); // [ A B C , A B C ]
```
[![License](https://img.shields.io/github/license/iterable-iterator/tee.svg)](https://raw.githubusercontent.com/iterable-iterator/tee/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@iterable-iterator/tee.svg)](https://www.npmjs.org/package/@iterable-iterator/tee)
[![Tests](https://img.shields.io/github/actions/workflow/status/iterable-iterator/tee/ci.yml?branch=main&event=push&label=tests)](https://github.com/iterable-iterator/tee/actions/workflows/ci.yml?query=branch:main)
[![Dependencies](https://img.shields.io/librariesio/github/iterable-iterator/tee.svg)](https://github.com/iterable-iterator/tee/network/dependencies)
[![GitHub issues](https://img.shields.io/github/issues/iterable-iterator/tee.svg)](https://github.com/iterable-iterator/tee/issues)
[![Downloads](https://img.shields.io/npm/dm/@iterable-iterator/tee.svg)](https://www.npmjs.org/package/@iterable-iterator/tee)
[![Code issues](https://img.shields.io/codeclimate/issues/iterable-iterator/tee.svg)](https://codeclimate.com/github/iterable-iterator/tee/issues)
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/iterable-iterator/tee.svg)](https://codeclimate.com/github/iterable-iterator/tee/trends/churn)
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/iterable-iterator/tee/main.svg)](https://codecov.io/gh/iterable-iterator/tee)
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/iterable-iterator/tee.svg)](https://codeclimate.com/github/iterable-iterator/tee/trends/technical_debt)
[![Documentation](https://iterable-iterator.github.io/tee/badge.svg)](https://iterable-iterator.github.io/tee/source.html)
[![Package size](https://img.shields.io/bundlephobia/minzip/@iterable-iterator/tee)](https://bundlephobia.com/result?p=@iterable-iterator/tee)