@getable/randomlist
v2.0.4
Published
A list iterator that randomizes the order of the output
Downloads
7
Readme
randomlist

A ReactComponent list iterator that randomizes the order of the output. Takes a cell and an array of props, returns a list of elements, randomly ordered.
Table of Contents generated with DocToc
Install
npm i -S @getable/randomlistUsage
Props
<React> cell Required
The cell to be iterated over
<Array> cellProps Required
An array of prop to be set on the cell
Tests
Tests are in tape.
npm testwill run the tests in a browsernpm run tddwill run the tests in a browser on every file change.
Developing
To publish, run npm run release -- [{patch,minor,major}]
NOTE: you might need to sudo ln -s /usr/local/bin/node /usr/bin/node to ensure node is in your path for the git hooks to work
Requirements
- npm > 2.0.0 So that passing args to a npm script will work.
npm i -g npm - git > 1.8.3 So that
git push --follow-tagswill work.brew install git
License
Artistic 2.0 © Jonathan
