Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 2.47 KB

README.md

File metadata and controls

35 lines (28 loc) · 2.47 KB

Iterable zipping functions for JavaScript. See docs.

⚠️ 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 GitHub issues Downloads

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