@jswork/next-zip-object
v1.0.1
Published
Merge two array to an object.
Downloads
22
Readme
next-zip-object
Merge two array to an object.
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.