@singhak/nodeui-core 0.3.0 → 0.5.0
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.
- package/README.md +6 -4
- package/dist/index.cjs +1141 -63
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +313 -6
- package/dist/index.d.ts +313 -6
- package/dist/index.mjs +1131 -58
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -1
- package/static/assets/index-BrEFUVm9.css +1 -0
- package/static/assets/index-CH4-6sZB.js +12 -0
- package/static/index.html +3 -2
- package/static/assets/index-CJCpPtrr.js +0 -11
- package/static/assets/index-ChbLMdDF.css +0 -1
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Framework-neutral engine for the NodeUI developer console: observability
|
|
4
4
|
providers, the REST contract, the safety gate, and the static console server.
|
|
5
|
-
The Express, Fastify and
|
|
6
|
-
consume those instead of using `@singhak/nodeui-core`
|
|
7
|
-
directly to integrate a framework
|
|
5
|
+
The Express, Fastify, NestJS, Koa, Hapi, Hono and `node:http` adapters build on
|
|
6
|
+
this package; you normally consume those instead of using `@singhak/nodeui-core`
|
|
7
|
+
directly. Use core directly to integrate a framework that has no adapter.
|
|
8
8
|
|
|
9
9
|
## Providers
|
|
10
10
|
|
|
@@ -100,7 +100,9 @@ server.shutdown();
|
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
Plugin ids are lowercase letters, digits and `-`, and must not collide with a built-in panel.
|
|
103
|
-
|
|
103
|
+
Express routes are discovered automatically, and the Fastify, Hapi and Hono adapters feed
|
|
104
|
+
the panel for you. For anything else (Koa, plain `http`, a custom router), feed it with
|
|
105
|
+
`server.setRoutes([...])`.
|
|
104
106
|
|
|
105
107
|
## Development
|
|
106
108
|
|