os-daemon

Use CouchDBs os_daemons with node.

npm install os-daemon
8 downloads in the last week
15 downloads in the last month

os-daemon

Ease the use of CouchDBs os_daemons with node.

Usage

var daemon = require('os-daemon')(process.stdin, process.stdout, function() {
  process.exit(0);
});

// Log a message
daemon.info('My daemon is starting.');
daemon.debug('I have so much wow...');
daemon.error('An error occured!');

// Request configuration
daemon.get('httpd.bind_address', function(data) {
  // data is now a string holding the value
});

Contributing

  1. Write tests with tap
  2. Lint your code with npm run jshint
  3. Run the tests with npm test

(c) 2013 Johannes J. Schmidt

npm loves you