johnnywengluu/stativus — comment on commit f55a3caaa6fdf51f188b00da2aa02d94d063aa63
File:  line 0
By johnnywengluu:

With this implementation (module.exports = Stativus) you can require() the file like a node.js module.

Stativus = require("./vendor/stativus/stativus.js");
statechart = Stativus.createStatechart()