Skip to content

alirzaev/zip-js

Repository files navigation

zip-js

A simple zip function implementation

Installation

$ npm install @alirzaev/zip-js

Usage

import { zip } from '@alirzaev/zip-js';

zip(['a', 'b'], [1, 2], [true, false]);

// => [['a', 1, true], ['b', 2, false]]

Running tests

$ npm test