0.2.1 • Published 9 years ago

ripe v0.2.1

Weekly downloads
38
License
MIT
Repository
github
Last release
9 years ago

ripe Used by

Build Status Coverage Status Dependency Status Code Climate

A simple node module that makes process dependencies easier.

Install

npm install --save ripe

Usage

ripe.wait(function () {
  // ready!
});

// Could be in another process
setTimeout(function () {
  ripe.ready();
}, 42);

The wait method can be used either with a callback or a promise (or both, if you're brave enough).

ripe.wait(function () {
  // ready!
});

ripe.wait().then(function () {
  // ready!
});

You can configure the the port used by the websocket server with an optional object.

ripe.wait({ port: 420 }, function () {});

When your work is done, you only have to call the ready function.

ripe.ready();

You can also give it an optional object and a callback or use the promise.

ripe.ready({ port: 420 });
0.2.1

9 years ago

0.2.0

10 years ago

0.1.1

10 years ago