Skip to content

Colingo/split-every

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published