/esp-js

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Build Status npm Join the chat at https://gitter.im/esp/chat

Evented State Processor (ESP)

ESP adds specific processing workflow around changes to a model's state.

Documentation

http://esp.readthedocs.org.

Installation

Install from npm: npm install esp-js --save.

If you're using ES6 with a package manager such as webpack you can import esp like this:

import esp from 'esp-js';
var router = new esp.Router();

Alternatevely you can reference dist\esp.js or dist\esp.min.js via a script tag. These files expose esp using the Universal Module Definition (UMD) format.