Skip to content

Latest commit

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

parsextract-node

NPM Version

A node.js client library for the Securibox ParseXtract API

The ParseXtract API allows you to train and extract data in PDF document and transform it in a JSON structured format.

Install

$ npm install parsextract

Parsing a document

constParseXtract=require('parsextract');varclient=newParseXtract.Client("Client_Id","Client_Secret");letbase64EncodedFile=fs.readFileSync('C:\\Path\\To\\file.pdf',{encoding: 'base64'});client.parse({fileName: 'file.pdf',base64Content: base64EncodedFile},function(err,res){if(err!==null||err!==undefined){throwerr;}console.log(res);});

Callbacks

All callbacks are in the form:

functioncallback(err,response){// err can be a network error or a Securibox API error.}

License

GNU GPL

About

A node.js module for the Securibox ParseXtract API

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages