Skip to content

Latest commit

 

History

History
executable file
·
22 lines (14 loc) · 485 Bytes

README.md

File metadata and controls

executable file
·
22 lines (14 loc) · 485 Bytes

continue-chunk

npm GitHub

install

npm install continue-chunk

features

  • [1, 2, 3, 6, 7] will chunk into [[1, 2, 3], [6, 7]]

usage

import chunk from 'continue-chunk'

chunk([1, 2, 3, 6, 7]) 
// return [[1, 2, 3], [6, 7]]