docparse-supplier-nst

NStar (NST) supplier specific code for use in the DocParse system

npm install docparse-supplier-nst
132 downloads in the last month

NStar (NST) supplier specific code for use in the DocParse system

Usage

var nst = require('docparse-supplier-nst')
var scraperData = {
  payload: {
    foo: 'bar'
  },
  db: <cradle db connection>,
  supplierCode: 'NST'
}

var inspect = require('eyespect').inspector()
nst.scraperProcessData(scraperData, function(err, reply)
  if (err) {
    inspect(err, 'error processing scraped data')
    return
  }
  inspect('scraped data processed correctly')
})
npm loves you