node-expectation

0.0.2 • Public • Published

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);
  }
);

Readme

Keywords

none

Package Sidebar

Install

npm i node-expectation

Weekly Downloads

0

Version

0.0.2

License

none

Last publish

Collaborators

  • bpedro