0.1.2 • Published 3 years ago
fast-zipobject v0.1.2
:package: :sparkles: fast-zipobject
Installation
yarn add fast-zipobject
Example
Simply call the function like you normally would using lodash. The function expect two arrays: one of property identifiers and one of corresponding values
import fastZipObject from 'fast-zipobject';
const obj = fastZipObject(['a', 'b'], [1, 2]);
// => { 'a': 1, 'b': 2 }