Socket
Book a DemoInstallSign in
Socket

arrayzipper

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arrayzipper

zip two or more arrays to one

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

arrayZipper

Build Status Commitizen friendly

zip two or more arrays to one

Usage:

var arrayZipper = require('arrayzipper'),
	myArrays = [
        [0, 3, 6, 8],
        [1, 4, 7],
        [2, 5]
    ],
    resultArray = arrayZipper(myArrays);
    console.log(resultArray);// -> [0, 1, 2, 3, 4, 5, 6, 7, 8]
var arrayZipper = require('arrayzipper'),
	myArrays = [
        ['h', 'l', 'w', 'r', 'd', '!'],
        ['e', 'o',],
        ['l', ' ', 'o', 'l']
    ],
    resultArray = arrayZipper(myArrays);
    console.log(resultArray);// -> [ 'h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd', '!' ]

This repo is commitizen friendly. Find more information about that here.

Author Christian Heyn

Keywords

zipper

FAQs

Package last updated on 06 Jul 2016

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.