@superfunctions/http 0.1.0 → 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 +13 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,16 +2,6 @@
2
2
 
3
3
  Framework-agnostic HTTP abstraction layer for building web APIs that work across Express, Hono, Fastify, Next.js, and more.
4
4
 
5
- ## Features
6
-
7
- - **Framework Agnostic**: Write your API logic once, deploy to any framework
8
- - **Web Standards**: Built on standard `Request` and `Response` APIs
9
- - **Type Safe**: Full TypeScript support with generic context types
10
- - **Zero Dependencies**: Core package has no runtime dependencies
11
- - **Middleware Support**: Compose middleware chains for authentication, CORS, etc.
12
- - **Path Parameters**: Express-style path patterns with parameter extraction
13
- - **Edge Compatible**: Works in edge runtimes (Cloudflare Workers, Deno, Bun)
14
-
15
5
  ## Installation
16
6
 
17
7
  ```bash
@@ -26,6 +16,15 @@ npm install @superfunctions/http-express
26
16
 
27
17
  # Hono
28
18
  npm install @superfunctions/http-hono
19
+
20
+ # Fastify
21
+ npm install @superfunctions/http-fastify
22
+
23
+ # Next.js
24
+ npm install @superfunctions/http-next
25
+
26
+ # SvelteKit
27
+ npm install @superfunctions/http-sveltekit
29
28
  ```
30
29
 
31
30
  ## Quick Start
@@ -251,10 +250,11 @@ interface RouteContext {
251
250
 
252
251
  | Framework | Package | Function |
253
252
  |-----------|---------|----------|
254
- | Express | `@superfunctions/http-express` | `toExpressRouter()` |
253
+ | Express | `@superfunctions/http-express` | `toExpressRouter()`, `toExpressHandler()` |
255
254
  | Hono | `@superfunctions/http-hono` | `toHonoHandler()` |
256
-
257
- More adapters coming soon: Fastify, Next.js, SvelteKit, Remix, etc.
255
+ | Fastify | `@superfunctions/http-fastify` | `toFastifyPlugin()` |
256
+ | Next.js | `@superfunctions/http-next` | `toNextHandlers()` |
257
+ | SvelteKit | `@superfunctions/http-sveltekit` | `toSvelteKitHandler()`, `toSvelteKitHandlers()` |
258
258
 
259
259
  ## License
260
260
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superfunctions/http",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Framework-agnostic HTTP abstraction layer for Superfunctions libraries",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",