spawnpoint-rethinkdb

RethinkDB plugin for Spawnpoint on NPM

Usage no npm install needed!

<script type="module">
  import spawnpointRethinkdb from 'https://cdn.skypack.dev/spawnpoint-rethinkdb';
</script>

README

spawnpoint-rethinkdb

RethinkDB Plugin for Spawnpoint on NPM. This currently does not support SSL.

npm version dependencies Status Actions Status Greenkeeper badge

API

This api is mounted at app.r as a Rethinkdbdash object. Please check the project documentation for more details for usage.

Config rethinkdb.json5

Config is mirrored to match the expected config for Rethinkdbdash. The only two difference are listed below:

  • ssl_files on a server config it will read the file contents and attach to the server.ssl object
  • requireConnection forces the plugin to delay application init until at least one connection in a pool has been made. NOTE: unpooled connections don't have this benefit YET.