Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F4E2C9E4 for ; Fri, 8 Jun 2012 16:43:35 +0000 (UTC) Received: (qmail 43401 invoked by uid 500); 8 Jun 2012 16:43:33 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 43342 invoked by uid 500); 8 Jun 2012 16:43:33 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 43268 invoked by uid 99); 8 Jun 2012 16:43:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 16:43:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.180] (HELO mail-gh0-f180.google.com) (209.85.160.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 16:43:27 +0000 Received: by ghbz12 with SMTP id z12so1537362ghb.11 for ; Fri, 08 Jun 2012 09:43:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=tC8K3X7EOoQstqhk0WQ32ymYlfwfyVO4siG7DyVCBKI=; b=BBVkvhFUZy4COZNwCHci+lFTLaJrX4P13M3wLb1U+3woEn2M9PsrzvdD4132b0+FQO fX71S7YyBrJfwcK/FD33bL6Fa5SLlCsfrATg/+cmvUMiEeQr2csrk1cBcJ/5YUQJurAN Q9iKjzxGUuPMCOVLGIgYWc73s4d1Ht8L26FEN104xUWvusEhEFdPxUuASzYdkHdRJPzy IsfJy64QDU2uPYD9+NjIrBptNZ+Rikv6nVX9ehg46T23UoaG96asoS0Lp+JLRx33VE5e QMWy9ael/Y/yvc49LZ1Bszo/x8Z6dSrG4aQMN9kkcLniWc5JiaCR0wPnYS140tfH9eHz qAvw== MIME-Version: 1.0 Received: by 10.50.6.229 with SMTP id e5mr3149362iga.9.1339173786207; Fri, 08 Jun 2012 09:43:06 -0700 (PDT) Received: by 10.64.10.170 with HTTP; Fri, 8 Jun 2012 09:43:06 -0700 (PDT) X-Originating-IP: [97.156.72.251] Received: by 10.64.10.170 with HTTP; Fri, 8 Jun 2012 09:43:06 -0700 (PDT) In-Reply-To: References: Date: Fri, 8 Jun 2012 12:43:06 -0400 Message-ID: Subject: Re: Node.js client for CouchDB From: Sam Bisbee To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=e89a8f13ec7ad1c66f04c1f8b1b4 X-Gm-Message-State: ALoCoQkMPWiZKNTILrauO91dlrYH2IXYi0tLbO4YL3nQfZlJGuJZDr07z2nqcYOtBwpC815WRUDZ X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f13ec7ad1c66f04c1f8b1b4 Content-Type: text/plain; charset=UTF-8 Nano is the most popular, cradle seems to be less popular, and saggingcouch.com gives you JS in browser and node with a mirrored API in PHP (I wrote sag so am biased). Or just use a straight HTTP lib like Mikeal's request. Cheers, -- Sam Bisbee Sent from my phone so please excuse brevity and typos. On Jun 8, 2012 9:21 AM, "Pulkit Singhal" wrote: > Hello Folks, > > What are some good node.js clients for communicating with CouchDB? > > If you are having trouble understanding why I would even want one then just > imagine that the app will not sit as a design document inside CouchDB but > rather be elsewhere and simply talking to CouchDB via the node.js client. > Or imagine that I'm doing TDD test driven development where I want to flesh > out the user-stories and workflow as nothing more than 10 or 12 calls to > CouchDB. Now I COULD do this via curl but parsing the output from previous > JSON responses in a big test driven workflow is not exactly a joyous or > successful task for me to accomplish. > > So far I've only found nano (https://github.com/dscape/nano) and I find > myself wondering why someone hasn't simply taken the javascript code that > runs Futon and dropped it into a node.js module? Has something like this > been done? Because that would (in my imaginary world) provide a full blown > client for use within node.js :) > --e89a8f13ec7ad1c66f04c1f8b1b4--