corvus

0.0.1 • Public • Published

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...

Readme

Keywords

none

Package Sidebar

Install

npm i corvus

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • hhariri