@titanpl/route 1.0.0 → 26.16.2

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 +17 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @titanpl/route
2
+
3
+ The declarative Routing DSL to wire endpoints in Titan Planet.
4
+
5
+ ## What it works (What it does)
6
+ This is strictly a semantic and type DSL layer that allows you to define your backend API routes cleanly without attaching a dynamic execution listener.
7
+
8
+ ## How it works
9
+ Because Titan operates by taking your configured routes and turning them into static structures compiled in Rust before runtime, this module provides the schema interfaces that `titan build` is searching for.
10
+
11
+ ```javascript
12
+ import { Router } from '@titanpl/route';
13
+
14
+ // Write declarative routing blocks that will be statically analyzed and parsed.
15
+ ```
16
+
17
+ **Important Note:** Currently, Titan Planet and its entire package ecosystem are only for Windows. The Linux version is in development (dev only) for the new architecture and will be launched later.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titanpl/route",
3
- "version": "1.0.0",
3
+ "version": "26.16.2",
4
4
  "description": "Titan routing DSL",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -11,4 +11,4 @@
11
11
  "default": "./index.js"
12
12
  }
13
13
  }
14
- }
14
+ }