Package Exports
- bitstamp-ws
 
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bitstamp-ws) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
bitstamp-ws
Nodejs Wrapper for the Bitstamp WebSocket API.
Howto
Install:
npm install bitstamp-wsUse:
var Bitstamp = require('bitstamp-ws');
var ws = new Bitstamp();
ws.on('trade', function(trade) {
  console.log('new trade:', trade);
});
ws.on('data', function(data) {
  console.log('new order book event:', data);
});And check out the example in example.js for full configuration and all available channels.
Reference
Bitstamp WebSocket API documentation: https://www.bitstamp.net/websocket/