Skip to content

iliasbhal/fast-zipobject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published