@lpdfio/lpdf 0.0.4 → 0.2.0

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 CHANGED
@@ -7,7 +7,7 @@ License inquiries: license@lpdf.io
7
7
 
8
8
  ## Choosing Your License
9
9
 
10
- LPDF is available under two license types: a free Community License for individuals and qualifying organizations, and paid licenses for larger commercial use. All license tiers receive the complete feature set — no capabilities are gated behind paid plans.
10
+ LPDF is available under three license tiers: a free Community License for individuals and qualifying organizations, a Professional License for mid-size commercial use, and an Enterprise License for larger organizations. All license tiers receive the complete feature set — no capabilities are gated behind paid plans.
11
11
 
12
12
  ### Equal Features Across All Tiers
13
13
 
@@ -33,16 +33,19 @@ Companies and organizations whose total annual gross revenue did not exceed **1,
33
33
 
34
34
  Organizations whose revenue crosses the 1,000,000 USD threshold have a **90-day grace period** following the close of their fiscal year to obtain a Professional or Enterprise license. During this grace period, continued use is permitted.
35
35
 
36
- ### Larger Businesses
36
+ ### Mid-Size Businesses
37
37
 
38
- Companies and organizations whose total annual gross revenue exceeded **1,000,000 USD** in the most recent 12-month fiscal year must obtain a Professional or Enterprise license to use LPDF in production environments.
38
+ Companies and organizations whose total annual gross revenue exceeded **1,000,000 USD** but did not exceed **10,000,000 USD** in the most recent 12-month fiscal year must obtain a Professional License to use LPDF in production environments.
39
39
 
40
40
  "Production environment" means any environment in which the Software processes real user data or supports live business operations, including staging environments accessible by end users.
41
41
 
42
- - **Professional License** — for organizations with up to 10 developers using LPDF
43
- - **Enterprise License** — for organizations with more than 10 developers using LPDF
42
+ Organizations whose revenue crosses the 1,000,000 USD threshold have a **90-day grace period** following the close of their fiscal year to obtain a Professional or Enterprise license. During this grace period, continued use is permitted.
43
+
44
+ ### Larger Businesses
45
+
46
+ Companies and organizations whose total annual gross revenue exceeded **10,000,000 USD** in the most recent 12-month fiscal year must obtain an Enterprise License to use LPDF in production environments.
44
47
 
45
- "Developer" means any individual who writes, modifies, or reviews code that directly integrates or calls the Software's API, including but not limited to software engineers and technical leads. The term does not include QA engineers whose sole interaction is executing pre-written test suites, or DevOps engineers whose sole interaction is deploying pre-packaged artifacts.
48
+ Organizations whose revenue crosses the 10,000,000 USD threshold have a **90-day grace period** following the close of their fiscal year to obtain an Enterprise license. During this grace period, continued use under a Professional License is permitted.
46
49
 
47
50
  ### Supporting LPDF
48
51
 
@@ -68,9 +71,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
68
71
 
69
72
  ---
70
73
 
71
- ## LPDF Professional and Enterprise License
74
+ ## LPDF Professional License
72
75
 
73
- *Applies to: companies and organizations with annual gross revenue exceeding 1,000,000 USD.*
76
+ *Applies to: companies and organizations with annual gross revenue exceeding 1,000,000 USD and not exceeding 10,000,000 USD.*
74
77
 
75
78
  ### Conduct
76
79
 
@@ -86,16 +89,16 @@ Subject to payment of the applicable license fee, Codesense LLC grants the licen
86
89
  - Distribute the Software as part of compiled or packaged commercial products
87
90
  - Deploy the Software across unlimited servers, environments, and infrastructure
88
91
 
89
- **Professional License** grants these rights to up to 10 developers (as defined above) within the licensee's organization.
90
-
91
- **Enterprise License** grants these rights to all developers within the licensee's organization with no developer-count limit.
92
-
93
92
  ### License Fees and Evaluation
94
93
 
95
94
  A license fee is required for use of LPDF in production environments (as defined above). Evaluation and testing in non-production environments is permitted without a license for a period not exceeding 30 days.
96
95
 
97
96
  Upon payment, the licensee receives a perpetual license for the version of LPDF current at the time of purchase, plus one year of updates, new features, and security patches. Continued access to new versions after the first year requires annual renewal. Cancellation of renewal does not affect the perpetual license for the version already held.
98
97
 
98
+ ### Support
99
+
100
+ Professional License holders receive email support from Codesense LLC.
101
+
99
102
  ### Ownership and Modifications
100
103
 
101
104
  Codesense LLC retains all ownership, copyright, and intellectual property rights in the Software at all times. This license grants rights to use the Software; it does not transfer ownership of any kind.
@@ -128,4 +131,65 @@ Notwithstanding the foregoing, either party may seek injunctive or other equitab
128
131
 
129
132
  ---
130
133
 
131
- For license purchases and inquiries: **license@lpdf.io** | lpdf.io/privacy
134
+ ## LPDF Enterprise License
135
+
136
+ *Applies to: companies and organizations with annual gross revenue exceeding 10,000,000 USD.*
137
+
138
+ ### Conduct
139
+
140
+ Licensees agree not to make false statements of fact about LPDF, Codesense LLC, or its contributors that are intended to cause material harm to the reputation of the project or the company. This clause does not restrict good-faith criticism, bug reports, public discussion of software deficiencies, or reviews based on the licensee's genuine experience.
141
+
142
+ License rights may not be rented, leased, or transferred to any third party.
143
+
144
+ ### License Grant
145
+
146
+ Subject to payment of the applicable license fee, Codesense LLC grants the licensee a non-exclusive, worldwide, royalty-free license to:
147
+
148
+ - Use, copy, modify, and integrate the Software into unlimited applications and projects
149
+ - Distribute the Software as part of compiled or packaged commercial products
150
+ - Deploy the Software across unlimited servers, environments, and infrastructure
151
+ - Issue license keys to wholly owned subsidiaries and controlled entities
152
+
153
+ ### License Fees and Evaluation
154
+
155
+ A license fee is required for use of LPDF in production environments (as defined above). Evaluation and testing in non-production environments is permitted without a license for a period not exceeding 30 days.
156
+
157
+ Upon payment, the licensee receives a perpetual license for the version of LPDF current at the time of purchase, plus one year of updates, new features, and security patches. Continued access to new versions after the first year requires annual renewal. Cancellation of renewal does not affect the perpetual license for the version already held.
158
+
159
+ ### Support
160
+
161
+ Enterprise License holders receive priority support with a defined SLA from Codesense LLC.
162
+
163
+ ### Contract
164
+
165
+ Enterprise licensees may request a Master Service Agreement (MSA) in place of the standard Terms of Service. Invoice billing is available upon request.
166
+
167
+ ### Ownership and Modifications
168
+
169
+ Codesense LLC retains all ownership, copyright, and intellectual property rights in the Software at all times. This license grants rights to use the Software; it does not transfer ownership of any kind.
170
+
171
+ All modifications to the Software made by the licensee remain the intellectual property of the licensee. Codesense LLC claims no ownership over licensee modifications unless they are voluntarily submitted as contributions to the LPDF project under a separate Contributor License Agreement.
172
+
173
+ ### Copyright
174
+
175
+ All copies, modifications, and distributions of the Software must retain the original copyright notice. Licensees may not remove, alter, or obscure any copyright, trademark, or attribution notices included in the Software.
176
+
177
+ ### Data and Privacy
178
+
179
+ Codesense LLC does not collect, process, or retain any data that the licensee processes through the Software. All data processed by LPDF remains solely within the licensee's infrastructure. For more information, see the Codesense LLC Privacy Policy at lpdf.io/privacy.
180
+
181
+ ### Export Compliance
182
+
183
+ The Software may be subject to export control laws and regulations, including the U.S. Export Administration Regulations (EAR) and sanctions programs administered by OFAC. The licensee is solely responsible for complying with all applicable export control and sanctions laws in connection with the licensee's use of the Software.
184
+
185
+ ### Disclaimer of Warranty
186
+
187
+ THIS SOFTWARE IS PROVIDED "AS IS," WITHOUT A WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL CODESENSE LLC OR ITS CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. IN NO EVENT SHALL CODESENSE LLC'S TOTAL CUMULATIVE LIABILITY TO ANY PARTY EXCEED THE GREATER OF (A) THE FEES PAID BY THAT PARTY TO CODESENSE LLC IN THE TWELVE MONTHS PRECEDING THE CLAIM, OR (B) ONE HUNDRED US DOLLARS (USD 100).
188
+
189
+ ### Governing Law and Dispute Resolution
190
+
191
+ This license is governed by and construed in accordance with the laws of the State of Delaware, United States, without regard to its conflict of law provisions.
192
+
193
+ Any dispute arising out of or relating to this license or the Software shall be resolved by binding arbitration administered by the American Arbitration Association under its Commercial Arbitration Rules. The arbitration shall take place in **Plano, Texas**. Judgment on the award rendered by the arbitrator may be entered in any court of competent jurisdiction.
194
+
195
+ Notwithstanding the foregoing, either party may seek injunctive or other equitable relief in any court of competent jurisdiction to prevent the actual or threatened infringement, misappropriation, or violation of a party's intellectual property rights.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lpdfio/lpdf
2
2
 
3
- Node.js adapter for [lpdf](https://lpdf.io) — pixel-perfect, lightweight, and consistent PDF rendering.
3
+ Node.js adapter for [lpdf](https://lpdf.io) — an accurate, efficient, and cross-platform PDF engine.
4
4
 
5
5
  ## Installation
6
6
 
@@ -14,7 +14,7 @@ npm install @lpdfio/lpdf
14
14
  import { LpdfEngine } from '@lpdfio/lpdf';
15
15
  import { readFileSync, writeFileSync } from 'node:fs';
16
16
 
17
- const engine = new LpdfEngine(''); // empty key → free tier (watermark)
17
+ const engine = new LpdfEngine('');
18
18
 
19
19
  engine.loadFont('montserrat', readFileSync('fonts/Montserrat-Regular.ttf'));
20
20
  engine.loadImage('logo', readFileSync('images/logo.png'));
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lpdfio/lpdf",
3
- "version": "0.0.4",
3
+ "version": "0.2.0",
4
4
  "description": "Node.js adapter for lpdf — pixel-perfect, lightweight, and consistent PDF rendering",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",