JSPM

array-chunk-equals

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q33632F
  • License Apache-2.0

Chunk array to equals parts

Package Exports

  • array-chunk-equals

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (array-chunk-equals) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Array Chunk Equals

Usage

import chunkEquals from "array-chunk-equals";

const arr = [1, 2, 3, 4, 5, 6, 7];

console.log(chunkEquals(arr, 3));
// [[1, 2, 7], [3, 4], [5, 6]]

Install

with NPM

npm i array-chunk-equals

with Yarn

yarn add array-chunk-equals

LICENSE

Apache-2.0