Numerous Packages Multiply

    split-every

    0.0.1 • Public • Published

    split-every build status

    split a list in length-n pieces

    Example

    var splitEvery = require("split-every")
        , assert = require("assert")
    
    var listOfTuples = splitEvery(2, [1,2,3,4,5,6])
    
    assert.equal(listOfTuples, [[1,2], [3,4], [5,6]])
    

    Installation

    npm install split-every

    Tests

    make test

    Contributors

    • Raynos

    MIT Licenced

    Keywords

    none

    Install

    npm i split-every

    DownloadsWeekly Downloads

    1

    Version

    0.0.1

    License

    none

    Last publish

    Collaborators

    • raynos
    • robertjd