CouchDB and Node.js - What module do you recommend?


What modules are you using to connect to your CouchDB server, in your Node.js applications? And why would you recommend whatever module you are using?

4/3/2011 8:18:23 PM

Accepted Answer

Try to look at nano which offers simple and minimalistic API for CouchDB or high-level client cradle.

5/24/2012 6:31:58 AM

When getting started, do not use CouchDB libraries in NodeJS!

There several, however they are largely thin layers wrapping the HTTP API. But Node has very strong HTTP support. It's no more trouble to make simple HTTP queries. It's simpler. It's less prone to errors. When CouchDB adds a feature, you won't need to wait for library support. You will learn and understand CouchDB better. It's well worth avoiding a library at first.

I use the built-in querystring module, and also Mikeal Rogers's request library, which is a super thin HTTP convenience library.

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow