docparse-parse-upload

Setup to parse data from upload ocr text

Docparse Parse Uplaod

Call the supplier specific code to parse an upload Dependency tracking by David

Usage

var parse = require('docparse-parse-upload');
var data = {
  upload: {
    foo: 'bar',
    supplierCode: 'FGS'
  }
  userID: 'foo user id'
}
parse(upload, function(errreply) {
  if (err) {
    inspect(err, 'error parsing upload');
    return;
  }
  inspect(reply.toObject(), 'upload after parsing');
});

npm install -S docparse-parse-upload