You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

rethinkdb

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rethinkdb

This package provides the JavaScript driver library for the RethinkDB database server for use in your node application.

2.4.2
latest
Source
npmnpm
Version published
Weekly downloads
12K
-4.76%
Maintainers
1
Weekly downloads
 
Created
Source

JavaScript Driver

This package is the officially supported driver for querying a RethinkDB database from a JavaScript application. It is designed to be run in Node.js but also has an alternate http connection type that is used by the RethinkDB web ui. The http connection type is not intended to be used by applications, since it isn't secure. Ultimately, the http connection type will move into the web ui code and out of the driver.

Check out rethinkdb.com/api/javascript for documentation and examples of using this driver.

Creating the proto-def.js

To build the JavaScript driver, you'll need to first generate the definitions file proto-def.js. To do that from the drivers directory, you can do:

$ ./convert_protofile -l javascript \
   -i ../src/rdb_protocol/ql2.proto \
   -o ./javascript/proto-def.js

Keywords

database

FAQs

Package last updated on 15 Dec 2019

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