@broadpaper/forme 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 +59 -0
- package/package.json +25 -4
package/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# @broadpaper/forme
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@broadpaper/forme)
|
|
4
|
+
[](https://www.broadpaper.com/legal/terms/)
|
|
5
|
+
[](https://www.broadpaper.com/docs/guide/licensing/)
|
|
6
|
+
|
|
7
|
+
Browserless PDF generation for BroadPaper, via the Forme WebAssembly engine. The recommended backend.
|
|
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/forme
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Produces PDFs with no Chromium, no Playwright and no native PDF library — a WebAssembly
|
|
20
|
+
engine and nothing else to install. That is what makes BroadPaper deployable in a container
|
|
21
|
+
that has no browser in it, which is most of the containers a report renderer belongs in.
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
import { renderPdf } from "@broadpaper/forme";
|
|
25
|
+
|
|
26
|
+
const { pdf, pages } = await renderPdf({ template, data });
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Text is selectable, fonts are embedded, and output is byte-for-byte deterministic for
|
|
30
|
+
identical input — so a document regenerated a year later is the same file, and a diff of two
|
|
31
|
+
renders shows what actually changed.
|
|
32
|
+
|
|
33
|
+
## Licensing
|
|
34
|
+
|
|
35
|
+
BroadPaper is **free to evaluate, with no trial clock and nothing behind a feature gate**.
|
|
36
|
+
Install it, use every feature, run it against your real data, in production if you like.
|
|
37
|
+
|
|
38
|
+
The only difference without a licence is that generated PDFs carry an evaluation mark. A
|
|
39
|
+
licence removes it — that is the entire commercial mechanism. No seats, no activation, no
|
|
40
|
+
machine binding, no telemetry, and no call home at any point.
|
|
41
|
+
|
|
42
|
+
- [How licensing works](https://www.broadpaper.com/docs/guide/licensing/)
|
|
43
|
+
- [Pricing](https://www.broadpaper.com/pricing/)
|
|
44
|
+
- [Licence agreement](https://www.broadpaper.com/legal/terms/)
|
|
45
|
+
|
|
46
|
+
## Documentation
|
|
47
|
+
|
|
48
|
+
- [Browserless PDF](https://www.broadpaper.com/docs/guide/browserless-pdf)
|
|
49
|
+
- [Themes and branding](https://www.broadpaper.com/docs/guide/themes)
|
|
50
|
+
- [Full documentation](https://www.broadpaper.com/docs/)
|
|
51
|
+
|
|
52
|
+
## Support
|
|
53
|
+
|
|
54
|
+
Paid licences include email support at [support@broadpaper.com](mailto:support@broadpaper.com).
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
Copyright © 2026 Codingbadger Creative Limited. See [LICENSE](./LICENSE) in this package, and
|
|
59
|
+
[THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md) for the components it ships with.
|
package/package.json
CHANGED
|
@@ -1,8 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@broadpaper/forme",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Browserless PDF backend for BroadPaper, built on the Forme (Rust/WASM) engine. Runs in Node, edge runtimes and the browser.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pdf",
|
|
7
|
+
"pdf-generation",
|
|
8
|
+
"report",
|
|
9
|
+
"reporting",
|
|
10
|
+
"report-designer",
|
|
11
|
+
"document-generation",
|
|
12
|
+
"broadpaper",
|
|
13
|
+
"webassembly",
|
|
14
|
+
"wasm",
|
|
15
|
+
"browserless",
|
|
16
|
+
"serverless"
|
|
17
|
+
],
|
|
5
18
|
"license": "SEE LICENSE IN LICENSE",
|
|
19
|
+
"homepage": "https://www.broadpaper.com",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"email": "support@broadpaper.com"
|
|
22
|
+
},
|
|
23
|
+
"author": {
|
|
24
|
+
"name": "Codingbadger Creative Limited",
|
|
25
|
+
"url": "https://www.broadpaper.com"
|
|
26
|
+
},
|
|
6
27
|
"type": "module",
|
|
7
28
|
"main": "./dist/index.js",
|
|
8
29
|
"module": "./dist/index.js",
|
|
@@ -29,9 +50,9 @@
|
|
|
29
50
|
"dependencies": {
|
|
30
51
|
"@formepdf/core": "^0.20.0",
|
|
31
52
|
"@formepdf/shared": "^0.20.0",
|
|
32
|
-
"@broadpaper/blocks": "0.2.
|
|
33
|
-
"@broadpaper/core": "0.2.
|
|
34
|
-
"@broadpaper/license": "0.2.
|
|
53
|
+
"@broadpaper/blocks": "0.2.1",
|
|
54
|
+
"@broadpaper/core": "0.2.1",
|
|
55
|
+
"@broadpaper/license": "0.2.1"
|
|
35
56
|
},
|
|
36
57
|
"browser": "./dist/index.browser.js",
|
|
37
58
|
"scripts": {
|