@zeltjs/adapter-node 0.0.1 → 0.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
+ # @zeltjs/adapter-node
2
+
3
+ Node.js HTTP server adapter for Zelt applications.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @zeltjs/adapter-node @zeltjs/core
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```typescript
14
+ import { serve } from '@zeltjs/adapter-node';
15
+ import { createHttpApp } from '@zeltjs/core';
16
+
17
+ const app = createHttpApp({ controllers: [...] });
18
+
19
+ serve(app, { port: 3000 });
20
+ ```
21
+
22
+ ## Documentation
23
+
24
+ See [zeltjs.dev](https://zeltjs.dev) for full documentation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeltjs/adapter-node",
3
- "version": "0.0.1",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "@hono/node-server": "2.0.1",
25
- "@zeltjs/core": "0.0.1"
25
+ "@zeltjs/core": "0.1.1"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "22.19.17"