@fedify/h3 0.1.0-dev.5 → 0.1.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 +11 -1
- package/package.json +3 -9
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
@fedify/h3: Integrate Fedify with h3
|
|
2
2
|
====================================
|
|
3
3
|
|
|
4
|
+
[![npm][npm badge]][npm]
|
|
5
|
+
[![Matrix][Matrix badge]][Matrix]
|
|
6
|
+
[![Follow @fedify@hollo.social][@fedify@hollo.social badge]][@fedify@hollo.social]
|
|
7
|
+
|
|
4
8
|
This package provides a simple way to integrate [Fedify] with [h3].
|
|
5
9
|
The integration code looks like this:
|
|
6
10
|
|
|
@@ -26,6 +30,12 @@ app.use(router);
|
|
|
26
30
|
> If you don't do this, Fedify will not be able to respond with a proper error
|
|
27
31
|
> status code when a content negotiation fails.
|
|
28
32
|
|
|
33
|
+
[npm]: https://www.npmjs.com/package/@fedify/h3
|
|
34
|
+
[npm badge]: https://img.shields.io/npm/v/@fedify/h3?logo=npm
|
|
35
|
+
[Matrix]: https://matrix.to/#/#fedify:matrix.org
|
|
36
|
+
[Matrix badge]: https://img.shields.io/matrix/fedify%3Amatrix.org
|
|
37
|
+
[@fedify@hollo.social badge]: https://fedi-badge.deno.dev/@fedify@hollo.social/followers.svg
|
|
38
|
+
[@fedify@hollo.social]: https://hollo.social/@fedify
|
|
29
39
|
[Fedify]: https://fedify.dev/
|
|
30
40
|
[h3]: https://h3.unjs.io/
|
|
31
41
|
|
|
@@ -35,4 +45,4 @@ Changelog
|
|
|
35
45
|
|
|
36
46
|
### Version 0.1.0
|
|
37
47
|
|
|
38
|
-
|
|
48
|
+
Initial release. Released on July 6, 2024.
|
package/package.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/h3",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Integrate Fedify with h3",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"Fedify",
|
|
7
|
-
"h3"
|
|
8
|
-
],
|
|
5
|
+
"keywords": ["Fedify", "h3"],
|
|
9
6
|
"author": {
|
|
10
7
|
"name": "Hong Minhee",
|
|
11
8
|
"email": "hong@minhee.org",
|
|
@@ -23,10 +20,7 @@
|
|
|
23
20
|
"type": "module",
|
|
24
21
|
"module": "dist/index.js",
|
|
25
22
|
"types": "dist/index.d.ts",
|
|
26
|
-
"files": [
|
|
27
|
-
"src/",
|
|
28
|
-
"dist/"
|
|
29
|
-
],
|
|
23
|
+
"files": ["src/", "dist/"],
|
|
30
24
|
"devDependencies": {
|
|
31
25
|
"@biomejs/biome": "1.8.3",
|
|
32
26
|
"@types/node": "^20.14.10",
|