Reiterate

View the Project on GitHub Xotic750/reiterate

Master

Build Status

Dependency Status

Dev Dependency Status

Coverage Status

NPM version

reiterate 0.1.0

Xotic750 Xotic750@gmail.com

A modern iteration library.

Load

The library is the single JavaScript file reiterate.js (or reiterate.min.js, which is reiterate.js minified).

It can be loaded via a script tag in an HTML document for the browser

<script src='./relative/path/to/reiterate.js'></script>

or as a CommonJS, Node.js or AMD module using require.

For Node, put the reiterate.js file into the same directory as the file that is requiring it and use

var reiterate = require('./reiterate.js');

or put it in a node_modules directory within the directory and use require('reiterate).

To load with AMD loader libraries such as requireJS:

require(['reiterate'], function(reiterate) {
    // Use reiterate here in local scope. No global reiterate.
});

Test

The test directory contains the test scripts for reiterate.

The tests can be run with Node.

To test all the methods

$ node test

Build

I.e. minify.

On Node

$ node run-script build

will create reiterate.min.js.

Feedback

Feedback is welcome.

Licence

See LICENCE.