Socket
Book a DemoInstallSign in
Socket

blow-chunks

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blow-chunks

split an array into arbitrary length pieces

1.0.1
latest
npmnpm
Version published
Weekly downloads
5
25%
Maintainers
1
Weekly downloads
 
Created
Source

blow-chunks Build Status Code Climate Test Coverage

split an array into arbitrary length pieces

this doesn't modify the array prototype. which means you have to invoke it by using function.prototype.call, kinda sucks, but hey...

install
npm install --save blow-chunks
usage
var chunk = require('blow-chunks');
chunk([1, 2, 3, 4, 5, 6], 2);
// [[1, 2], [3, 4], [5, 6]]

Keywords

array

FAQs

Package last updated on 30 Oct 2015

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.