linecraft 0.2.1 → 0.4.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 +54 -17
  2. package/README.md +12 -1
  3. package/package.json +8 -2
package/LICENSE CHANGED
@@ -1,22 +1,59 @@
1
- MIT License
1
+ Fair Labor License (FLL) v1.1
2
2
 
3
- Copyright (c) 2025 Linecraft Contributors
3
+ © 2025 Linecraft Contributors
4
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, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
5
+ SPDX-License-Identifier: LicenseRef-FLL-1.1
11
6
 
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
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.
14
9
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
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.
22
12
 
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
+
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
+
19
+ a. Individuals
20
+ The individual’s net worth is under 1 million USD.
21
+
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.
26
+
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.
31
+
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.1**.
385
+
386
+ - If you are an individual with a net worth under **$1M 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.2.1",
3
+ "version": "0.4.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": "MIT",
25
+ "license": "LicenseRef-FLL-1.1",
26
+ "licenses": [
27
+ {
28
+ "type": "LicenseRef-FLL-1.1",
29
+ "url": "https://fllicense.org"
30
+ }
31
+ ],
26
32
  "keywords": [
27
33
  "terminal",
28
34
  "tui",