: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- ...