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

docparse-scraped-add

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-scraped-add

Add scraped data to the docparse database

latest
npmnpm
Version
1.1.0
Version published
Weekly downloads
11
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Add scraped data to the docparse database

Installation

npm install docparse-scraped-add

Usage

var fs = require('fs')
var add = require('docparse-scraped-add')
var filePath = '/path/to/file'
var readStream = fs.createReadStream(filePath)
var data = {
  readStream: readStream,
  supplierCode: 'FGS',
  payload: {
    billNumber: 'fooBillNumber',
    loginID: 'fooLoginID',
    billDate: '2012-01-23 00:00:00 +00:00',
    accountNumber: 'barAccountNumber'
  }
}
add(data, function (err, reply) {
  if (err) {
    console.dir(err)
    return
  }
  console.dir(reply)
})

Tests

Execute in the project root

# install the development dependencies
npm install
# run the tests
npm test

Keywords

docparse

FAQs

Package last updated on 03 Apr 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