docparse-parse-upload

Setup to parse data from upload ocr text

npm install docparse-parse-upload
80 downloads in the last month

Docparse Parse Uplaod

Call the supplier specific code to parse an upload Build Status Dependency Status 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(err, reply) {
  if (err) {
    inspect(err, 'error parsing upload');
    return;
  }
  inspect(reply.toObject(), 'upload after parsing');
});

Installation

npm install -S docparse-parse-upload

npm loves you