js-sdk-list

0.2.1 • Public • Published

js-sdk-list

Simple list utilities.

library

$ chunk(ls : [a], size : Number) -> [[a]]
 
// split an 'ls' into chunk of 'size'.
 
 
$ reserve(size : Number) -> [a]
 
// returns an Array with N elements.
 
 
$ repeat(size : Number, value : a) -> [a]
 
// returns an Array with N elements using the value parameter to fill all elements.

license

See license.md or visit Unlicense.

/js-sdk-list/

    Package Sidebar

    Install

    npm i js-sdk-list

    Weekly Downloads

    1

    Version

    0.2.1

    License

    Unlicense

    Last publish

    Collaborators

    • diasbruno