node-jspdf

0.0.3 • Public • Published

This package allows you to use jsPDF on the server. Any methods that require DOM stuff will fail, but you can create and modify PDF files and save them to disk as shown in the documentation.

To use:

npm install

And then...

var doc = jsPDF();
doc.text(20, 20, 'Hello, world.');
doc.save('Test.pdf', function(err){console.log('saved!');});

Readme

Keywords

Package Sidebar

Install

npm i node-jspdf

Weekly Downloads

16

Version

0.0.3

License

DBAD

Last publish

Collaborators

  • calvinfroedge