Xotic750 / reiterate

A modern iteration library.

Home Page:http://xotic750.github.io/reiterate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Master

Build Status

Dependency Status

Dev Dependency Status

Coverage Status

NPM version

#reiterate 0.1.0 #

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

$ npm test

Test your browser

Build

I.e. minify.

On command line

$ npm run-script minify

will create lib/reiterate.min.js from lib/reiterate.js.

Feedback

Feedback is welcome.

Licence

See LICENCE.

About

A modern iteration library.

http://xotic750.github.io/reiterate/

License:GNU General Public License v3.0


Languages

Language:JavaScript 99.5%Language:Smarty 0.5%Language:HTML 0.1%