pdfx-cli 0.0.1 → 0.4.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/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Akii <akashpise588@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software...
package/README.md CHANGED
@@ -1,10 +1,73 @@
1
1
  # pdfx-cli
2
2
 
3
- shadcn/ui model for React PDF generation.
3
+ > The official CLI tool for [PDFx](https://pdfx.akashpise.dev), professional pre-built PDF React components.
4
4
 
5
- > This package is being migrated here from @akii09/pdfx-cli.
6
- > Full release coming soon.
5
+ Create beautiful, dynamic, and perfectly typed PDFs in React using standard Tailwind-like utility classes and strict property interfaces. PDFx provides a library of copy-pasteable blocks (Invoices, Reports, Receipts) that you fully own and customize inside your project.
7
6
 
8
- ## Links
9
- - Docs: https://pdfx.akashpise.dev
10
- - GitHub: https://github.com/akii09/pdfx
7
+ Built on top of [@react-pdf/renderer](https://react-pdf.org/).
8
+
9
+ ## Installation
10
+
11
+ Initialize the PDFx configuration and setup in your project:
12
+
13
+ ```bash
14
+ npx pdfx-cli@latest init
15
+ ```
16
+
17
+ ## Adding Components
18
+
19
+ Add specific PDFx components directly into your local codebase. You own the code!
20
+
21
+ ```bash
22
+ npx pdfx-cli@latest add badge
23
+ npx pdfx-cli@latest add table form qrcode
24
+ ```
25
+
26
+ ## Available Components
27
+ - `alert`
28
+ - `badge`
29
+ - `card`
30
+ - `data-table`
31
+ - `divider`
32
+ - `form`
33
+ - `heading`
34
+ - `keep-together`
35
+ - `key-value`
36
+ - `link`
37
+ - `list`
38
+ - `page-break`
39
+ - `page-footer`
40
+ - `page-header`
41
+ - `page-number`
42
+ - `pdf-image`
43
+ - `qrcode`
44
+ - `section`
45
+ - `signature`
46
+ - `stack`
47
+ - `table`
48
+ - `text`
49
+ - `watermark`
50
+
51
+ ## Pre-Composed Blocks
52
+ Start with full, gorgeous templates.
53
+
54
+ ```bash
55
+ npx pdfx-cli@latest block add invoice-modern
56
+ npx pdfx-cli@latest block add report-financial
57
+ ```
58
+
59
+ ## MCP & AI Agents
60
+
61
+ PDFx comes with first-class AI Agent integration via MCP (Model Context Protocol). Connect your AI IDE or Agent directly to the PDFx registry to instantly gain fluent context about PDFx component structures.
62
+
63
+ ```bash
64
+ npx pdfx-cli@latest mcp init --client cursor
65
+ ```
66
+
67
+ ## Documentation
68
+
69
+ Full documentation, real-time PDF previews, and block gallery available at [pdfx.akashpise.dev](https://pdfx.akashpise.dev).
70
+
71
+ ## License
72
+
73
+ MIT
@@ -0,0 +1,2 @@
1
+
2
+ export { }