0.1.0 • Published 11 years ago
hookpoints v0.1.0
Hookpoints
Small utility library for creating, subscribing to, and triggering hook points.
Installation
npm install hookpointsUsage
var helloWorld = function() {
console.log("Hello, World!");
};
var hookpoints = require('hookpoints');
hookpoints.register("NameOfHookPoint");
hookpoints.subscribe("NameOfHookPoint", helloWorld);
hookpoints.trigger("NameOfHookPoint");Tests
npm testContributing
Fork and open a pull request on githubRelease History
- 0.1.0 Initial release
- 0.1.1 Removed unnecessary dependency to MEAN.io
0.1.0
11 years ago