This library converts html files to PDF files or PDF buffer.
Is working for:
- URL.
- local html files.
- html as string.
- text.
Visit from-data-to-pdf.
$ npm i from-data-to-pdf
- targets:
- list of FileBuffer.
- save:
- type
boolean
. true
to save targets,false
to get buffers.
- type
- path:
- is optionnal.
- type
string
.
const