You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-15Lines changed: 6 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,8 +45,7 @@ If you are directly using `@intlify/utils` as a dependency:
45
45
}
46
46
```
47
47
48
-
**Note:** Make sure to recreate lockfile and `node_modules` after reinstall to
49
-
avoid hoisting issues.
48
+
**Note:** Make sure to recreate lockfile and `node_modules` after reinstall to avoid hoisting issues.
50
49
51
50
</details>
52
51
@@ -148,29 +147,21 @@ You can do `import { ... } from '@intlify/utils'` the above utilities
148
147
-`getPathLocale`
149
148
-`getQueryLocale`
150
149
151
-
The about utilies functions accpet Web APIs such as
152
-
[Request](https://developer.mozilla.org/en-US/docs/Web/API/Request) and
153
-
[Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) that is
154
-
supported by JS environments (such as Deno, Bun, and Browser)
150
+
The about utilies functions accpet Web APIs such as [Request](https://developer.mozilla.org/en-US/docs/Web/API/Request) and [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) that is supported by JS environments (such as Deno, Bun, and Browser)
155
151
156
152
#### Specialized environments
157
153
158
-
If you will use Node.js and H3, You can do
159
-
`import { ... } from '@intlify/utils/{ENV}'` the above utilities.
154
+
If you will use Node.js and H3, You can do `import { ... } from '@intlify/utils/{ENV}'` the above utilities.
160
155
161
156
The namespace `{ENV}` is one of the following:
162
157
163
-
-`node`: accpet `IncomingMessage` and `Outgoing` by Node.js
164
-
[http](https://nodejs.org/api/http.html) module
158
+
-`node`: accpet `IncomingMessage` and `Outgoing` by Node.js [http](https://nodejs.org/api/http.html) module
165
159
-`h3`: accept `H3Event` by HTTP framework [h3](https://github.com/unjs/h3)
160
+
-`hono`: accept `Context` by edge-side web framework [hono](https://github.com/honojs/hono)
166
161
167
162
## 🙌 Contributing guidelines
168
163
169
-
If you are interested in contributing to `@intlify/utils`, I highly recommend
170
-
checking out [the contributing guidelines](/CONTRIBUTING.md) here. You'll find
171
-
all the relevant information such as
172
-
[how to make a PR](/CONTRIBUTING.md#pull-request-guidelines),
173
-
[how to setup development](/CONTRIBUTING.md#development-setup)) etc., there.
164
+
If you are interested in contributing to `@intlify/utils`, I highly recommend checking out [the contributing guidelines](/CONTRIBUTING.md) here. You'll find all the relevant information such as [how to make a PR](/CONTRIBUTING.md#pull-request-guidelines), [how to setup development](/CONTRIBUTING.md#development-setup)) etc., there.
0 commit comments