dixous 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.
- package/README.md +1 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,14 +10,10 @@ Start with a simple request, then add validation, middleware, and custom respons
|
|
|
10
10
|
npm install dixous
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Or from JSR: `deno add jsr:@asguho/dixous` / `npx jsr add @asguho/dixous`.
|
|
14
|
-
Requires a runtime with native Fetch (Node.js 22+, Deno, or a modern browser).
|
|
15
|
-
|
|
16
13
|
## Usage
|
|
17
14
|
|
|
18
15
|
```ts
|
|
19
|
-
import {
|
|
20
|
-
const dixous = createDixous();
|
|
16
|
+
import { dixous } from "./lib/dixous"; // Shared client created with createDixous
|
|
21
17
|
import { z } from "zod";
|
|
22
18
|
|
|
23
19
|
const image = await dixous.fetch("https://example.com/image.png").blob();
|