kern-lang 3.1.0 → 3.1.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.
Files changed (2) hide show
  1. package/README.md +27 -0
  2. package/package.json +11 -11
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # kern-lang
2
+
3
+ The language LLMs think in. Write one .kern file, ship 7 targets. 70% fewer tokens.
4
+
5
+ Part of the [KERN monorepo](https://github.com/KERNlang/kern).
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install kern-lang
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ // Compatibility wrapper — re-exports all @kernlang/* packages.
17
+ // For new projects, import from @kernlang/core + @kernlang/<target> directly.
18
+ import { parse, transpileTailwind, transpileExpress } from 'kern-lang';
19
+
20
+ const ast = parse(kernSource);
21
+ const react = transpileTailwind(ast);
22
+ const server = transpileExpress(ast);
23
+ ```
24
+
25
+ ## License
26
+
27
+ AGPL-3.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kern-lang",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "The language LLMs think in. Write one .kern file, ship 7 targets. 70% fewer tokens.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -33,16 +33,16 @@
33
33
  "homepage": "https://github.com/cukas/KERNlang#readme",
34
34
  "license": "AGPL-3.0",
35
35
  "dependencies": {
36
- "@kernlang/core": "3.1.0",
37
- "@kernlang/protocol": "3.1.0",
38
- "@kernlang/native": "3.1.0",
39
- "@kernlang/react": "3.1.0",
40
- "@kernlang/express": "3.1.0",
41
- "@kernlang/cli": "3.1.0",
42
- "@kernlang/vue": "3.1.0",
43
- "@kernlang/terminal": "3.1.0",
44
- "@kernlang/fastapi": "3.1.0",
45
- "@kernlang/metrics": "3.1.0"
36
+ "@kernlang/protocol": "3.1.1",
37
+ "@kernlang/express": "3.1.1",
38
+ "@kernlang/react": "3.1.1",
39
+ "@kernlang/native": "3.1.1",
40
+ "@kernlang/cli": "3.1.1",
41
+ "@kernlang/terminal": "3.1.1",
42
+ "@kernlang/vue": "3.1.1",
43
+ "@kernlang/fastapi": "3.1.1",
44
+ "@kernlang/core": "3.1.1",
45
+ "@kernlang/metrics": "3.1.1"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "tsc -b"