Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

array.chunk

1.1.0 • Public • Published

array.chunk

Build Status

Split array/TypedArray to chunks of given size.

Usage

const chunks = require('array.chunk');
 
// [[1, 2], [3, 4], [5]]
console.log(chunks([1, 2, 3, 4, 5], 2));

LICENSE

ISC

Keywords

install

npm i array.chunk

Downloadsweekly downloads

500

version

1.1.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar