@kernlang/core 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 +24 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # @kernlang/core
2
+
3
+ Kern core — parser, types, spec, config, style engines, codegen
4
+
5
+ Part of the [KERN monorepo](https://github.com/KERNlang/kern).
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @kernlang/core
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ import { parse, resolveConfig } from '@kernlang/core';
17
+
18
+ const config = resolveConfig({ target: 'react-tailwind' });
19
+ const ir = parse(`page "Home" { text "Hello" }`);
20
+ ```
21
+
22
+ ## License
23
+
24
+ AGPL-3.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernlang/core",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Kern core — parser, types, spec, config, style engines, codegen",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",