lie-zip

0.1.1 • Public • Published
var zip = require('lie-zip');

zip

zip(array of things[,...], (or promises for array(s))

zips the 2 or more arrays up such that zip([1,2],['a','b']) returns [[1,'a'],[2,'b']];. When called with one array it is equivilent to lie-map called with the function(a){return [a]}.

License

MIT

/lie-zip/

    Package Sidebar

    Install

    npm i lie-zip

    Weekly Downloads

    2

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • cwmma