@kernlang/express 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 +25 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # @kernlang/express
2
+
3
+ Kern Express TypeScript backend transpiler
4
+
5
+ Part of the [KERN monorepo](https://github.com/KERNlang/kern).
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @kernlang/express
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ import { parse } from '@kernlang/core';
17
+ import { transpileExpress } from '@kernlang/express';
18
+
19
+ const ir = parse(`service "Api" { route "/users" method GET }`);
20
+ const result = transpileExpress(ir, { target: 'express' });
21
+ ```
22
+
23
+ ## License
24
+
25
+ AGPL-3.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernlang/express",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Kern Express TypeScript backend transpiler",
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",