Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A NodeJS package for accessing RavenDB using HTTP API
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
README.md Added license info
license.txt Added license info
package.json update to latest mocha, implement script for tests

README.md

Corvus

An Asynchronous NodeJS HTTP Client for RavenDB

Corvus is a node package for accessing RavenDB using its HTTP API.

Installation

npm install corvus

Corvus does not have any dependencies other than nodejs and the mocha testing framework (only for development)

Usage


    var documentStore = new DocumentStore('192.168.0.101', 8080);
    var doc = { Name: 'Joe Smith', Email: 'joe@smith.com }
    documentStore.postDoc(doc, function (docDetails, error) {
        console.log("Doc created with key: " + docDetails.Key);
    });

Currently supported functionality

  • GET, POST, PUT, DELETE

In the works

  • PATCH
  • Support for non-default database
  • More things...

License

Licensed under MIT License @ http://github.com/hhariri/corvus/license.txt

Something went wrong with that request. Please try again.