Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 ✨ fast-zipobject

npm version downloads per week bundle size fast-zipobject is released under the MIT license.

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 }

About

It's lodash's zipObject but twice faster.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages