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

/node-expectation/

    Package Sidebar

    Install

    npm i node-expectation

    Weekly Downloads

    4

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • bpedro