ESP adds specific processing workflow around changes to a model's state.
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.