Socket
Socket
Sign inDemoInstall

lodash.zip

Package Overview
Dependencies
0
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lodash.zip

The lodash method `_.zip` exported as a module.


Version published
Weekly downloads
1.3M
increased by2.21%
Maintainers
3
Install size
13.7 kB
Created
Weekly downloads
 

Package description

What is lodash.zip?

The lodash.zip package is a part of the Lodash library which is a JavaScript utility library delivering consistency, modularity, and performance. The lodash.zip function merges together the values of each of the arrays with the values at the corresponding position. Useful for combining the contents of multiple arrays into a single array of tuples.

What are lodash.zip's main functionalities?

Zipping arrays

This feature combines the elements of each array into grouped elements. The result of the code sample would be an array of arrays, like this: [['fred', 30, true], ['barney', 40, false]].

[['fred', 'barney'], [30, 40], [true, false]].zip()

Other packages similar to lodash.zip

Readme

Source

lodash.zip v4.2.0

The lodash method _.zip exported as a Node.js module.

Installation

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash.zip

In Node.js:

var zip = require('lodash.zip');

See the documentation or package source for more details.

Keywords

FAQs

Last updated on 13 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc