couch-daemon

Use CouchDBs os_daemons with node.

npm install couch-daemon
11 downloads in the last week
25 downloads in the last month

couch-daemon

Ease the use of CouchDBs os_daemons with node.

Usage

var daemon = require('couch-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