node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

rethinkdbdash-websocket

Forked from rethinkdb-websocket-client, uses rethinkdbdash instead of rethinkdb.

Usage

Setup a simple server that proxy websockets to RethinkDB

$ websockify localhost:8015 localhost:28015

Use it with webpack

var r = require('rethinkdbdash')({
  port: 8015
})
r.table('users').count().run().then(function(user) {
  console.log('user')
})