Iterable zipping functions for JavaScript

Usage no npm install needed!

<script type="module">
  import iterableIteratorZip from 'https://cdn.skypack.dev/@iterable-iterator/zip';


:zipper_mouth_face: @iterable-iterator/zip

Iterable zipping functions for JavaScript. See docs.

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

import {zip} from '@iterable-iterator/zip';
zip("ABC" , "XY") ; // AX BY
zip(count( 0 , 1 ) , "ABC") ; // 0A 1B 2C

import {enumerate} from '@iterable-iterator/zip';
enumerate("ABC") ; // 0A 1B 2C

import {ziplongest} from '@iterable-iterator/zip';
ziplongest('-', count( 0 , 1 ) , "ABC") ; // 0A 1B 2C 3- 4- ...

License Version Tests Dependencies Dev dependencies GitHub issues Downloads

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