@kernlang/metrics 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 +2 -2
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # @kernlang/metrics
2
+
3
+ Kern language metrics and project context export
4
+
5
+ Part of the [KERN monorepo](https://github.com/KERNlang/kern).
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @kernlang/metrics
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ import { collectLanguageMetrics, scanKernProject } from '@kernlang/metrics';
17
+
18
+ const metrics = collectLanguageMetrics(kernAst);
19
+ const summary = await scanKernProject('./src');
20
+ ```
21
+
22
+ ## License
23
+
24
+ AGPL-3.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernlang/metrics",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Kern language metrics and project context export",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -16,7 +16,7 @@
16
16
  ],
17
17
  "license": "AGPL-3.0",
18
18
  "dependencies": {
19
- "@kernlang/core": "3.1.0"
19
+ "@kernlang/core": "3.1.1"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tsc -b",