Socket
Socket
Sign inDemoInstall

runsv-couchdb

Package Overview
Dependencies
26
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    runsv-couchdb

runsv couchdb service wrapper


Version published
Weekly downloads
53
decreased by-15.87%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

pipeline status coverage report

runsv CouchDB (apache-nano client) service

This is a service wrapper around the excellent nano for runsv.

Install

If you have already installed nano

$ npm install runsv-couchdb

Otherwise

$ npm install nano runsv-couchdb

nano is a peer dependency

Usage

const runsv = require('runsv')();
const couchdb = require('runsv-couchdb')(/* nano config here*/);

runsv.addService(couchdb);
runsv.start(function(err, clients){
	const {couchdb} = clients;
	//your program goes here
});

Configure nano

You can configure your connection to couchdb the same way you you do it with nano.

// --- Configuration example comparison ---
//  Create client with nano
const nano = require('nano')('http://localhost:5984/my-db');
//  Create a service wrapper with runsv-couchdb
const runsvCouchdb = require('runsv-couchdb')('http://localhost:5984/my-db');

FAQs

Last updated on 15 Oct 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc