Sign In

http-ravendb

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-ravendb

A JavaScript library for accessing RavenDB

latest
Source
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

http-ravendb

A client-side JavaScript library for RavenDB access.

Requirements

This requires the use of Cross-Origin Resource Sharing (CORS). This means that you will likely need to configure RavenDB to be hosted in IIS and add a static HTTP Header to the site/virtual directory. Something like:

Access-Control-Allow-Origin: *
Access-Control-Allow-Origin: http://example.com:8080 http://foo.example.com
Access-Control-Allow-Headers: Content-Type, Raven-Entity-Name
Access-Control-Allow-Methods: PATCH, PUT, POST, GET, OPTIONS, DELETE

See (http://enable-cors.org/) for more

Usage

See the index.html file in this project for example usage.

Keywords

ravendb

FAQs

Package last updated on 21 Jul 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts