@jswork/next-zip-object

1.0.1 • Public • Published

next-zip-object

Merge two array to an object.

version license size download

installation

npm install -S @jswork/next-zip-object

usage

import '@jswork/next-zip-object';

const ar1 = ['a', 'b'];
const ar2 = [1, 2];
const res = nx.zipObject(ar1, ar2);

// { a: 1, b: 2 }

license

Code released under the MIT license.

Dependencies (0)

    Dev Dependencies (20)

    Package Sidebar

    Install

    npm i @jswork/next-zip-object

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.59 kB

    Total Files

    5

    Last publish

    Collaborators

    • afeiship