template2pdf-jade
v0.1.1
Published
template2pdf for jade
Downloads
4
Readme
template2pdf-jade
Installation
npm install template2pdf
npm install template2pdf-jade
Basic usage
import jade from 'template2pdf-jade';
import exporter from 'template2pdf';
let values = {
name: 'jade'
};
exporter(jade({ /* jade options */ })).render('views/content.jade', values).then((result) => {
result.toFile('/tmp/content.pdf', () => {
//do something
});
});