docparse-find-upload

Find uploads by id

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

Docparse Find Upload

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

Usage

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')
    return
  }
  inspect(upload, 'found upload')
})
npm loves you