New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rns

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rns

Wrapper for RethinkDB JavaScript driver for Node shell

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-60%
Maintainers
1
Weekly downloads
 
Created
Source

reql-node-shell

Wrapper around RethinkDB JavaScript driver for Node shell

This library load the RethinkDB driver and:

  • overwrite connect to work without argument (default localhost:28015)
  • add repl on a connection
  • overwrite run to behave more friendly in a shell

Note: This library should NOT be used in a node application. This is mostly for debugging.

Note: This library does not block!

Use

> michel@xone:~$ node
> var r = require('rns')
undefined
> r.connect().repl()
undefined
> var result = r.dbList().run()
undefined
> [
  "test"
]

> result
{ _status: 'ready',
  _start: Tue Jan 14 2014 10:31:11 GMT-0800 (PST),
  _end: Tue Jan 14 2014 10:31:11 GMT-0800 (PST),
  _data: [ 'test' ] }
> result.status()
'ready'
> result.time()
0.002
> result.data()
[ 'test' ]
> 

Keywords

FAQs

Package last updated on 14 Jan 2014

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc