1.0.2 • Published 7 years ago
paperbark v1.0.2
PaperBark
This repository contains the open source code for the PaperBark NodeJS Development Kit. For more information on how to use PaperBark or the PaperBark API please look at our Documentation repository.
Installation
This SDK is available via NPM, install it with the following command
npm install paperbark
Usage
const paperbark = require('paperbark')('your_token'); // Replace with your own API token
// Create a new pdf
let pdf = paperbark.pdf();
// Add HTML
pdf.html('<strong>PaperBark NodeJS SDK</strong>');
// Save to a file
pdf.save('output.pdf');
License
Please see the license file for more information.