rethinkdbdash-websocket
v2.1.9-2
Published
RethinkDB driver monkey-patched to connect via WebSocket. Works in browser.
Downloads
4
Readme
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')
})