0.14.4-rc • Published 9 months ago

@postscriptum.app/core v0.14.4-rc

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
9 months ago

postscriptum-core

This javascript library is the core component of Postscriptum.

It transforms the HTML content into a paginated one, without relying on the browser fragmentation support.

Postscriptum

Postscriptum is a solution to produce PDF from HTML with the help of CSS Print.

Please refer to https://postscriptum.app for a global picture of the project.

Installation

postscriptum-core is downloadable from the release page of the project on GitLab. It is also available on npm.

Usage

To paginate the complete page as soon as possible, include the Postscriptum script in the page with the attribute ps-paginate.

<script src="postscriptum.min.js" ps-paginate></script>

To start programmatically the pagination then the print:

<script src="postscriptum.min.js"></script>
<script>
	document.addEventListener('DOMContentLoaded', async () => {
		await postscriptum.pagination({ source: document.body }).start().ended;
		print();
	});
</script>

License

MIT

0.14.4-rc

9 months ago

0.14.2-rc

12 months ago

0.14.3-rc

12 months ago

0.14.1-rc

1 year ago

0.14.0-rc

1 year ago

0.13.8-beta

1 year ago

0.13.7-beta

2 years ago

0.13.5-beta

2 years ago

0.12.4-beta

2 years ago

0.12.3-beta

2 years ago

0.12.5-beta

2 years ago

0.13.6-beta

2 years ago

0.13.4-beta

2 years ago

0.13.3-beta

2 years ago

0.13.1-beta

2 years ago

0.13.0-beta

2 years ago

0.12.2-beta

3 years ago

0.12.1-beta

3 years ago

0.12.0-beta

3 years ago

0.11.5-beta

3 years ago

0.11.4-beta

3 years ago

0.11.3-beta

4 years ago

0.11.0-beta

4 years ago

0.11.1-beta

4 years ago

0.11.2-beta

4 years ago

0.10.2-beta

4 years ago

0.10.1-beta

4 years ago

0.10.0-beta

4 years ago