0.1.0 • Published 2 years ago

html-dom-pdf v0.1.0

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
2 years ago

html-dom-pdf

NPM version

A javascript tool of transform html-dom-pdf-dom to pdf, support paging Lossless.

Usage

install

# install
$ npm html-dom-pdf -S

project

import HtmlDomPdf from 'html-dom-pdf';

new HtmlDomPdf(options).then(() => {
    // do something.
});

const options = {}; // 👇
ObjectPropTypeDefaultNote
options.selectorString''🔗 CSS Selectors
titleString'pdf'filename of pdf
marginTBNumber0margin of top & bottom
marginLRNumber0margin of left & right
offsetLimitNumber40Maximum offset: Get effective content when paging, trying to intercept upwards, this is the maximum offset

Releases

  • 2019-08-19
    • 0.0.1
0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago