itty-router 5.0.15 → 5.0.16
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 +13 -35
- package/createResponse.d.ts +1 -1
- package/html.d.ts +1 -1
- package/jpeg.d.ts +1 -1
- package/json.d.ts +1 -1
- package/package.json +1 -1
- package/png.d.ts +1 -1
- package/text.d.ts +1 -1
- package/webp.d.ts +1 -1
package/README.md
CHANGED
|
@@ -1,42 +1,20 @@
|
|
|
1
|
-
<
|
|
1
|
+
<br />
|
|
2
|
+
|
|
3
|
+
<p>
|
|
2
4
|
<a href="https://itty.dev/itty-router">
|
|
3
|
-
<img src="https://github.com/kwhitley/itty-router/assets/865416/
|
|
5
|
+
<img src="https://github.com/kwhitley/itty-router/assets/865416/ed7de66a-b876-46a8-a65f-429dc6d3da20" alt="Itty Router" height="120" />
|
|
4
6
|
</a>
|
|
5
|
-
<br /><br />
|
|
6
7
|
<p>
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
</a>
|
|
18
|
-
<a href="https://coveralls.io/github/kwhitley/itty-router?branch=v5.x" target="_blank">
|
|
19
|
-
<img src="https://img.shields.io/coveralls/github/kwhitley/itty-router/v5.x?style=flat-square" alt="code coverage" />
|
|
20
|
-
</a>
|
|
21
|
-
<a href="https://npmjs.com/package/itty-router" target="_blank">
|
|
22
|
-
<img src="https://img.shields.io/npm/dw/itty-router?style=flat-square" alt="weekly downloads" />
|
|
23
|
-
</a>
|
|
24
|
-
<a href="https://github.com/kwhitley/itty-router/issues" target="_blank">
|
|
25
|
-
<img src="https://img.shields.io/github/issues/kwhitley/itty-router?style=flat-square" alt="open issues" />
|
|
26
|
-
</a>
|
|
27
|
-
|
|
28
|
-
<br />
|
|
29
|
-
|
|
30
|
-
<a href="https://discord.gg/53vyrZAu9u" target="_blank">
|
|
31
|
-
<img src="https://img.shields.io/discord/832353585802903572?label=Discord&logo=Discord&style=flat-square&logoColor=fff" alt="join us on discord" />
|
|
32
|
-
</a>
|
|
33
|
-
<a href="https://github.com/kwhitley/itty-router" target="_blank">
|
|
34
|
-
<img src="https://img.shields.io/github/stars/kwhitley/itty-router?style=social" alt="Repo stars" />
|
|
35
|
-
</a>
|
|
36
|
-
<a href="https://www.twitter.com/ittydev" target="_blank">
|
|
37
|
-
<img src="https://img.shields.io/twitter/follow/ittydev.svg?style=social&label=Follow" alt="Follow ittydev" />
|
|
38
|
-
</a>
|
|
39
|
-
</p>
|
|
9
|
+
[](https://npmjs.com/package/itty-router)
|
|
10
|
+
[](https://deno.bundlejs.com/?q=itty-router)
|
|
11
|
+
[](https://coveralls.io/github/kwhitley/itty-router)
|
|
12
|
+
[](https://coveralls.io/github/kwhitley/itty-router)
|
|
13
|
+
[](https://npmjs.com/package/itty-router)
|
|
14
|
+
[](https://coveralls.io/github/kwhitley/itty-router)
|
|
15
|
+
[](https://discord.gg/53vyrZAu9u)
|
|
16
|
+
[](https://github.com/kwhitley/itty-router)
|
|
17
|
+
[](https://www.twitter.com/ittydev)
|
|
40
18
|
|
|
41
19
|
### [v5 Documentation](https://itty.dev/itty-router) | [v4 -> v5 Migration Guide](https://itty.dev/itty-router/migrations/v4-v5) | [Discord](https://discord.gg/53vyrZAu9u)
|
|
42
20
|
|
package/createResponse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ResponseFormatter } from './types';
|
|
2
|
-
export declare const createResponse: (format?: string, transform?: (body: any) => any) => ResponseFormatter;
|
|
2
|
+
export declare const createResponse: (format?: string, transform?: ((body: any) => any) | undefined) => ResponseFormatter;
|
package/html.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const html: import("
|
|
1
|
+
export declare const html: import("types").ResponseFormatter;
|
package/jpeg.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const jpeg: import("
|
|
1
|
+
export declare const jpeg: import("types").ResponseFormatter;
|
package/json.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const json: import("
|
|
1
|
+
export declare const json: import("types").ResponseFormatter;
|
package/package.json
CHANGED
package/png.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const png: import("
|
|
1
|
+
export declare const png: import("types").ResponseFormatter;
|
package/text.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const text: import("
|
|
1
|
+
export declare const text: import("types").ResponseFormatter;
|
package/webp.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const webp: import("
|
|
1
|
+
export declare const webp: import("types").ResponseFormatter;
|