New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@deepstream/storage-rethinkdb

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deepstream/storage-rethinkdb

Connects deepstream.io to rethinkdb

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
3
Created
Source

deepstream.io-storage-rethinkdb

Coverage Status npm Dependency Status devDependency Status devDependency Status

Deepstream storage connector for RethinkDB

This connector uses the npm rethinkdb package. Please have a look there for detailed options.

Warning: This plugin will automatically create a table, if it doesn't exist yet. But be aware, in case you create a table manually, use "ds_id" as the primary key. Otherwise the plugin won't be able to find your records.

Configuration Options

plugins:
  storage:
    name: rethinkdb
    options:
      host: ${RETHINKDB_HOST}
      port: ${RETHINKDB_PORT}
      db: 'someDb'
      defaultTable: 'someTable'
      splitChar: '/'
{
	//The host that RethinkDb is listening on
	host: 'localhost',

	//The port that RethinkDb is listening on
	port: 28015,

	//(Optional) Authentication key for RethinkDb
	authKey: 'someString',

	//(Optional, defaults to 'deepstream')
	db: 'someDb',

	//(Optional, defaults to 'deepstream_records')
	defaultTable: 'someTable',

	/* (Optional) A character that's used as part of the
	* record names to split it into a tabel and an id part, e.g.
	*
	* books/dream-of-the-red-chamber
	*
	* would create a table called 'books' and store the record under the name
	* 'dream-of-the-red-chamber'
	*/
	splitChar: '/'
}

Basic Setup

const { Deepstream } = require('@deepstream/server')

const server = new Deepstream({
  storage: {
    name: 'rethinkdb',
    options: {
     host: 'localhost',
     port: 28015
   }
 },
})

server.start();

FAQs

Package last updated on 09 Apr 2021

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