@ihaback/your-typescript-lib
TypeScript icon, indicating that this package has built-in type declarations

2.7.0 • Public • Published
import { chunk } from "@ihaback/your-typescript-lib"
// Chunk an array into smaller arrays of a specified size
    const bigArray = Array.from({ length: 100 }, (v, i) => i);

    const chunkedArray = chunk(bigArray, 25);

Readme

Keywords

none

Package Sidebar

Install

npm i @ihaback/your-typescript-lib

Weekly Downloads

0

Version

2.7.0

License

ISC

Unpacked Size

5.42 kB

Total Files

12

Last publish

Collaborators

  • ihaback