rethinkdb
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/rethinkdb package

2.4.2 • Public • Published

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

Package Sidebar

Install

npm i rethinkdb

Weekly Downloads

10,524

Version

2.4.2

License

none

Unpacked Size

217 kB

Total Files

9

Last publish

Collaborators

  • rethinkdb