1.1.10 • Published 11 years ago

docparse-upload-create v1.1.10

Weekly downloads
3
License
-
Repository
github
Last release
11 years ago

Docparse Upload Create

Create a new upload document in the database

Build Status Dependency Status Dependency tracking by David

Usage

var inspect = require('eyespect').inspector();
var create = require('docparse-upload-create');
var data = {
  hash: 'foo hash',
  supplierCode: 'FGS',
  userID: 'fooUserID' // this should be an _id ObjectId of a docparse-user instance
}
create(data, function(err, reply) {
  if(err) {
    inspect(err, 'error creating upload);
    return;
  }
  inspect(reply.toObject(), 'created upload');
});

Installation

npm install docparse-upload-create

1.1.10

11 years ago

1.1.9

11 years ago

1.1.8

11 years ago

1.1.7

11 years ago

1.1.6

11 years ago

1.1.3

11 years ago

1.1.1

11 years ago

1.0.6

11 years ago

1.0.5

11 years ago

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago