New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

docparse-upload-create

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docparse-upload-create

Create a new upload document in the database

latest
Source
npmnpm
Version
1.1.10
Version published
Maintainers
1
Created
Source

Docparse Upload Create

Create a new upload document in the database. The upload should be an instance of docparse-upload.

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

Keywords

docparse

FAQs

Package last updated on 16 Mar 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts