/ etherpad / src / node_modules / rethinkdb /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[TXT]README.md4 days ago880  
[   ]ast.js4 days ago137K 
[   ]cursor.js4 days ago 21K 
[   ]errors.js4 days ago9.0K 
[   ]net.js4 days ago 33K 
[   ]package.json4 days ago792  
[   ]proto-def.js4 days ago4.2K 
[   ]rethinkdb.js4 days ago309  
[   ]util.js4 days ago6.4K 
README.md

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
Apache/2.4.38 (Debian) Server at www.karls.computer Port 80