node-expectation

node-expectation lets you specify code that will run whenever something happens.

npm install node-expectation
2 downloads in the last month

expectation

expectation lets you specify code that will run whenever something happens.

expectation flowchart

Example

var expectation = require('../lib/expectation');

expectation.create(
  function () {
    return 'we are there!';
  },
  function (data) {
    console.log(data);
  }
);
npm loves you