Find uploads by id

npm install docparse-find-upload
8 downloads in the last month

Docparse Find Upload

Find a docparse upload document in the couchdb database by the upload _id value


var findUpload = require('docparse-find-upload')
var data = {
  db: <cradle db connection>,
  uploadID: <_id value of a docparse upload document>
findUpload(data, function(err, upload) {
  if (err) {
    inspect(err, 'error finding upload by _id')
  inspect(upload, 'found upload')
npm loves you