/wex-node-api

NodeJS wrapper for the WEX.nz Push(er) API

Primary LanguageJavaScript

WEX (formally BTC-e)

const { WexDepth, WexTrades } = require('wex-node-api');

const wx = new WexDepth();

wx.subscribe('btc_usd')
    .on('btc_usd', (d) => {
      // book updates
    })