@fedify/fedify 0.8.0-dev.142 → 0.8.0-dev.144
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 +12 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,15 +105,20 @@ via the following command:
|
|
|
105
105
|
deno add @fedify/fedify
|
|
106
106
|
~~~~
|
|
107
107
|
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
Since Fedify requires [`Temporal`] API, which is an unstable feature in Deno as
|
|
109
|
+
of April 2024, you need to add the `"temporal"` to the `"unstable"` field of
|
|
110
|
+
the *deno.json* file:
|
|
111
|
+
|
|
112
|
+
~~~~ json
|
|
113
|
+
{
|
|
114
|
+
"imports": {
|
|
115
|
+
"@fedify/fedify": "jsr:@fedify/fedify"
|
|
116
|
+
},
|
|
117
|
+
"unstable": ["temporal"]
|
|
118
|
+
}
|
|
110
119
|
~~~~
|
|
111
120
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
~~~~ typescript
|
|
115
|
-
import { Federation } from "jsr:@fedify/fedify";
|
|
116
|
-
~~~~
|
|
121
|
+
[`Temporal`]: https://tc39.es/proposal-temporal/docs/
|
|
117
122
|
|
|
118
123
|
### Node.js
|
|
119
124
|
|
|
@@ -125,10 +130,6 @@ the following command:
|
|
|
125
130
|
npm add @fedify/fedify
|
|
126
131
|
~~~~
|
|
127
132
|
|
|
128
|
-
~~~~ typescript
|
|
129
|
-
import { Federation } from "@fedify/fedify";
|
|
130
|
-
~~~~
|
|
131
|
-
|
|
132
133
|
### Bun
|
|
133
134
|
|
|
134
135
|
Fedify can also be used in Bun. You can install it via the following
|
|
@@ -137,7 +138,3 @@ command:
|
|
|
137
138
|
~~~~ sh
|
|
138
139
|
bun add @fedify/fedify
|
|
139
140
|
~~~~
|
|
140
|
-
|
|
141
|
-
~~~~ typescript
|
|
142
|
-
import { Federation } from "@fedify/fedify";
|
|
143
|
-
~~~~
|