couchmagick-listen
Stream changes to couchmagick-stream.
Usage
Create a design document with a couchmagick configuration:
See couchmagick-stream for available options;
Listen for changes:
'http://localhost:5984/mydb' ;
Configuration
couchmagick-listen accepts an options object as second parameter, which accepts the following parameters:
concurrency
- Number of simultanous processesconvert_process_timeout
- Timeout for convert processfeed
- format of the changes feedlimit
- limit for changes feedchanges_feed_timeout
- timeout for changes feed
Examples
You can run an example (examples/simple.js
):
node examples/simple.js http://localhost:5984/mydb
Contributing
Lint your code with npm run jshint
(c) 2013 Johannes J. Schmidt, null2 GmbH