@broadpaper/pdf 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -0
- package/package.json +25 -5
package/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# @broadpaper/pdf
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@broadpaper/pdf)
|
|
4
|
+
[](https://www.broadpaper.com/legal/terms/)
|
|
5
|
+
[](https://www.broadpaper.com/docs/guide/licensing/)
|
|
6
|
+
|
|
7
|
+
Chromium-backed PDF generation for BroadPaper, via Playwright. The fidelity reference.
|
|
8
|
+
|
|
9
|
+
Part of [**BroadPaper**](https://www.broadpaper.com) — an embeddable visual report designer and PDF renderer.
|
|
10
|
+
Your users design the report in your application; BroadPaper owns the layout, the branding,
|
|
11
|
+
the pagination and the output.
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install @broadpaper/pdf
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Renders through a real browser. This is the backend to reach for when you need Chromium's
|
|
20
|
+
exact typesetting, or when you are comparing output against what a browser would print;
|
|
21
|
+
[`@broadpaper/forme`](https://www.npmjs.com/package/@broadpaper/forme) is the one to deploy,
|
|
22
|
+
because it needs no browser on the server.
|
|
23
|
+
|
|
24
|
+
Playwright is a peer dependency, so installing this package does not drag a browser download
|
|
25
|
+
into an application that only wanted the designer.
|
|
26
|
+
|
|
27
|
+
## Licensing
|
|
28
|
+
|
|
29
|
+
BroadPaper is **free to evaluate, with no trial clock and nothing behind a feature gate**.
|
|
30
|
+
Install it, use every feature, run it against your real data, in production if you like.
|
|
31
|
+
|
|
32
|
+
The only difference without a licence is that generated PDFs carry an evaluation mark. A
|
|
33
|
+
licence removes it — that is the entire commercial mechanism. No seats, no activation, no
|
|
34
|
+
machine binding, no telemetry, and no call home at any point.
|
|
35
|
+
|
|
36
|
+
- [How licensing works](https://www.broadpaper.com/docs/guide/licensing/)
|
|
37
|
+
- [Pricing](https://www.broadpaper.com/pricing/)
|
|
38
|
+
- [Licence agreement](https://www.broadpaper.com/legal/terms/)
|
|
39
|
+
|
|
40
|
+
## Documentation
|
|
41
|
+
|
|
42
|
+
- [The Chromium backend](https://www.broadpaper.com/docs/guide/pdf)
|
|
43
|
+
- [Browserless PDF](https://www.broadpaper.com/docs/guide/browserless-pdf)
|
|
44
|
+
- [Full documentation](https://www.broadpaper.com/docs/)
|
|
45
|
+
|
|
46
|
+
## Support
|
|
47
|
+
|
|
48
|
+
Paid licences include email support at [support@broadpaper.com](mailto:support@broadpaper.com).
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
Copyright © 2026 Codingbadger Creative Limited. See [LICENSE](./LICENSE) in this package, and
|
|
53
|
+
[THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md) for the components it ships with.
|
package/package.json
CHANGED
|
@@ -1,8 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@broadpaper/pdf",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "BroadPaper PDF renderer: headless Chromium printing of the paged document, with an HTTP server, SSRF guard and a browser print fallback.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pdf",
|
|
7
|
+
"pdf-generation",
|
|
8
|
+
"report",
|
|
9
|
+
"reporting",
|
|
10
|
+
"report-designer",
|
|
11
|
+
"document-generation",
|
|
12
|
+
"broadpaper",
|
|
13
|
+
"playwright",
|
|
14
|
+
"chromium",
|
|
15
|
+
"headless-chrome"
|
|
16
|
+
],
|
|
5
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
|
+
"homepage": "https://www.broadpaper.com",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"email": "support@broadpaper.com"
|
|
21
|
+
},
|
|
22
|
+
"author": {
|
|
23
|
+
"name": "Codingbadger Creative Limited",
|
|
24
|
+
"url": "https://www.broadpaper.com"
|
|
25
|
+
},
|
|
6
26
|
"type": "module",
|
|
7
27
|
"main": "./dist/index.js",
|
|
8
28
|
"types": "./dist/index.d.ts",
|
|
@@ -28,10 +48,10 @@
|
|
|
28
48
|
},
|
|
29
49
|
"dependencies": {
|
|
30
50
|
"pdf-lib": "^1.17.1",
|
|
31
|
-
"@broadpaper/
|
|
32
|
-
"@broadpaper/
|
|
33
|
-
"@broadpaper/renderer": "0.2.
|
|
34
|
-
"@broadpaper/license": "0.2.
|
|
51
|
+
"@broadpaper/blocks": "0.2.1",
|
|
52
|
+
"@broadpaper/core": "0.2.1",
|
|
53
|
+
"@broadpaper/renderer": "0.2.1",
|
|
54
|
+
"@broadpaper/license": "0.2.1"
|
|
35
55
|
},
|
|
36
56
|
"peerDependencies": {
|
|
37
57
|
"playwright": ">=1.40",
|