linecraft 0.3.0 → 0.5.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.
Files changed (3) hide show
  1. package/LICENSE +49 -19
  2. package/README.md +12 -1
  3. package/package.json +8 -2
package/LICENSE CHANGED
@@ -1,29 +1,59 @@
1
- FLL
1
+ Fair Labor License (FLL) v1.2
2
2
 
3
- Copyright (c) 2025 Linecraft Contributors
3
+ © 2025 Linecraft Contributors
4
4
 
5
- Fair Labor License (FLL) v1.0
5
+ SPDX-License-Identifier: LicenseRef-FLL-1.2
6
6
 
7
- 1. License Grant
8
- Subject to the conditions outlined in this license, the author(s) grant permission to any individual or company to use, reproduce, and modify this software free of charge.
7
+ 1. Purpose
8
+ The Fair Labor License exists to ensure that free and open software does not contribute to extreme labor inequality. When organizations compensate their workers fairly, this software is free to use. When they do not, they must purchase a license — ensuring that value created through labor is not taken without accountability.
9
9
 
10
- 2. Eligibility Criteria
11
- This license is available free of charge under the following conditions:
10
+ 2. License Grant
11
+ Subject to the conditions in this license, the author(s) grant permission to any individual or organization to use, reproduce, modify, and distribute this software.
12
12
 
13
- a. Individuals:
14
- The individual’s total net worth must be under $1 million USD at the time of use.
13
+ 3. Evaluation Use Exception
14
+ Anyone may download, install, and use the software solely for evaluation and testing purposes. Evaluation use may not exceed 90 days and may not include operational, commercial, or production use.
15
15
 
16
- b. Companies:
17
- The CEO’s total annual compensation must be less than fifteen (15) times the total annual compensation of the company’s median employee.
16
+ 4. Fair Compensation Condition (Eligibility for Free Use)
17
+ This software is free to use for any individual or organization that meets at least one of the following conditions at the time of operational use:
18
18
 
19
- 3. License Purchase Requirement
20
- If an individual or company does not meet the eligibility criteria specified in Section 2, they must obtain a paid license from the author(s) or an authorized distributor before using, reproducing, or modifying this software.
19
+ a. Individuals
20
+ The individual's net worth is under 5 million USD.
21
21
 
22
- 4. Compliance
23
- The licensee is responsible for ensuring compliance with the eligibility criteria. Misrepresentation of eligibility will result in the immediate termination of the rights granted under this license.
22
+ b. Organizations
23
+ The organization is Fair Labor Compliant, defined as:
24
+ - The CEO’s (or highest-paid executive’s) total annual compensation is no more than fifteen (15) times the total annual compensation of the organization’s median employee, and
25
+ - Eligibility is assessed on a consolidated basis, including all parent and subsidiary entities under common control or brand identity.
24
26
 
25
- 5. No Warranty
26
- This software is provided as is,” without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement.
27
+ Definitions
28
+ -Total annual compensation” includes wages, bonuses, overtime, equity or stock-based compensation, and employer-provided benefits.
29
+ - “Median employee” refers to the worker whose compensation is the exact midpoint of all workers, including part-time and contract labor when they constitute a majority of operational personnel.
30
+ - “Operational use” means deployment or use of the software in any product, system, or service that provides business value, revenue, or ongoing internal operations beyond evaluation, whether used directly or indirectly, including when incorporated as a dependency or component of another product, system, or service.
27
31
 
28
- 6. Limitation of Liability
29
- In no event shall the author(s) be liable for any claim, 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.
32
+ 5. Paid License Requirement
33
+ If an individual or organization does not meet the Fair Compensation Condition at the time of operational use, they must obtain a paid license from the author(s) or an authorized licensing provider such as fllicense.org before such use begins.
34
+
35
+ Unauthorized operational use constitutes copyright infringement.
36
+
37
+ 6. Self-Attestation and Documentation
38
+ Licensees utilizing the software under the free-use provisions must self-attest compliance and maintain documentation supporting eligibility. Upon request by the author(s) or a licensing provider, documentation must be provided within 30 days.
39
+
40
+ Failure to provide documentation is considered a material breach of this license.
41
+
42
+ 7. Change in Eligibility / Cure Period
43
+ If a licensee’s eligibility changes, they must:
44
+ - Either purchase a paid license within 30 days, or
45
+ - Immediately cease operational use of the software.
46
+
47
+ Restoring eligibility restores the rights granted under this license.
48
+
49
+ 8. No Misrepresentation
50
+ Licensees may not claim to be Fair Labor Compliant, nor use the Fair Labor License name or abbreviations in sales, marketing, or investor materials, unless they meet the Fair Compensation Condition.
51
+
52
+ 9. No Warranty
53
+ This software is provided “as is”, without warranty of any kind, express or implied, including merchantability, fitness for a particular purpose, and noninfringement. Use is at your own risk.
54
+
55
+ 10. Limitation of Liability
56
+ In no event shall the author(s) be liable for any claim, damages, or liability arising from the software or its use.
57
+
58
+ 11. Governing Law
59
+ This license is governed by the copyright law applicable in the jurisdiction of the author(s).
package/README.md CHANGED
@@ -381,4 +381,15 @@ Contributions welcome! Please open an issue or PR.
381
381
 
382
382
  ## License
383
383
 
384
- MIT
384
+ This project is licensed under the **Fair Labor License (FLL) v1.2**.
385
+
386
+ - If you are an individual with a net worth under **$5M USD**, or
387
+ - Your organization is **Fair Labor Compliant** (your CEO or highest-paid executive makes no more than **15×** your median employee's total annual compensation),
388
+
389
+ then you may use this software **for free**, subject to the terms of the license.
390
+
391
+ If you do **not** meet these conditions and use this software in production or for business value, you must obtain a **paid license**, for example via [fllicense.org](https://fllicense.org).
392
+
393
+ You may freely evaluate and test this software for up to **90 days** before deciding.
394
+
395
+ See the full license text in [`LICENSE`](./LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linecraft",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "High-performance terminal UI library for Node.js",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -22,7 +22,13 @@
22
22
  "type": "git",
23
23
  "url": "https://github.com/matthew-dean/linecraft.git"
24
24
  },
25
- "license": "FLL",
25
+ "license": "LicenseRef-FLL-1.2",
26
+ "licenses": [
27
+ {
28
+ "type": "LicenseRef-FLL-1.2",
29
+ "url": "https://fllicense.org"
30
+ }
31
+ ],
26
32
  "keywords": [
27
33
  "terminal",
28
34
  "tui",