Skip to content

zhiyelee/array.chunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Split array/TypedArray to chunks of given size

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published