sejda-js
v2.0.1
Published
Javascript wrapper for the Sejda PDF engine
Downloads
22
Readme
Sejda JS
Javascript wrapper for Sejda PDF, the engine behind Sejda.com
Usage
Split by pages
var sejda = require('sejda-js')
sejda.splitByPages({
files:['pdfs/2_pages.pdf'],
pages: '1',
output: '/tmp'
},
function(err, stdout, stderr){
console.log(stdout);
console.error(stderr);
if(err) console.error('Failed. ', err)
else console.log('OK')
}
)
Reference implementations:
License
AGPLv3