yarn add fast-zipobject
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 }