Skip to content

herpiko/node-jspdf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Dependencies:

wget
unzip

To use:

npm install

And then...

var jsPDF = require('node-jspdf');

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

About

jsPDF on the server.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 72.9%
  • Shell 27.1%