Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 685 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 685 Bytes

weasyprint

A wrapper for the WeasyPrint HTML to PDF converter

NOTE: Some of the code is copy-paste from devongovett/node-wkhtmltopdf.

Installation and requirements

Use npm to install this module:

npm install weasyprint

To use this module, you need to have weasyprint command line tool installed on your system. If weasyprint command is not in your PATH, you can specify its location setting weasyprint.command property after requiring the module:

const weasyprint = require('weasyprint')

weasyprint.command = '~/programs/weasyprint'

Usage

License

MIT