A full featured CouchDB transport for winston
npm i --save winston winston-couchdb
var winston = require('winston')
, winstonCouch = require('winston-couchdb').Couchdb
winston.add(winstonCouch, {
host: 'localhost'
, port: 5984
// optional
, auth: {username: 'user', password: 'pass'}
, secure: false
, level: 'info'
})