Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 451 Bytes

Readme.md

File metadata and controls

20 lines (14 loc) · 451 Bytes

Parstream JSON client

This is a client for the parstream db. This module at least requires parstream v1.6.0 since it depends on the JSON interface.

Install

Just install the module via npm.

npm install parstream

Example

var parstream = require('parstream').createClient('your.parstream-host.com', 9042);

parstream.query('SELECT * FROM foo WHERE bar="fast"', function(err, data) {
  // do something with your data...
})