/tee

:seedling: Iterable copy function for JavaScript

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

Iterable copy function for JavaScript. See docs.

⚠️ Depending on your environment, the code may require regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

import {tee} from '@iterable-iterator/tee';
tee('ABC', 2); // [ A B C , A B C ]

License Version Tests Dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size