Skip to content

Commit

Permalink
Updated to show invocation when using index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
timemachine3030 authored and felixge committed Sep 21, 2010
1 parent e1001f5 commit 1453b65
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Expand Up @@ -6,14 +6,16 @@ A thin node.js idiom based module for [CouchDB's REST API](http://wiki.apache.or

Installation is simple:

$ cd ~/.node_libraries
$ cd ~/src
$ git clone git://github.com/felixge/node-couchdb.git
$ cd ~/.node_libraries
$ ln -s ~/src/node-couchdb couchdb

To use the library, create a new file called `my-couch-adventure.js`:

var
sys = require('sys'),
couchdb = require('node-couchdb/lib/couchdb'),
couchdb = require('couchdb'),
client = couchdb.createClient(5984, 'localhost'),
db = client.db('my-db');

Expand Down Expand Up @@ -294,4 +296,4 @@ See the [CouchDB docs](http://wiki.apache.org/couchdb/HTTP_database_API#Changes)
## Limitations

* Streaming attachments is not supported at this point (patches welcome)
* Etags are only available via client.request({full: true})
* Etags are only available via client.request({full: true})

0 comments on commit 1453b65

Please sign in to comment.