lvkangwei

0.0.3 • Public • Published

拆分数组的方法,基于lodash

使用方法:

const chunk = require('../index.js')
console.log(chunk([1, 3, 4], 2)) // [[1, 3], [4]]

/lvkangwei/

    Package Sidebar

    Install

    npm i lvkangwei

    Weekly Downloads

    1

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    746 B

    Total Files

    4

    Last publish

    Collaborators

    • maniubi1998