Skip to content

Commit b11be26

Browse files
author
jarvisjiang
committed
update installation section of readme
1 parent d7793a8 commit b11be26

File tree

2 files changed

+14
-50
lines changed

2 files changed

+14
-50
lines changed

README.cn.md

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,18 @@ fetchT 的返回数据是一个明确的类型,可以是 `string` `ArrayBuffer
1818

1919
## 安装
2020

21-
pnpm
22-
```
21+
```sh
22+
# via pnpm
2323
pnpm add @happy-ts/fetch-t
24-
```
25-
26-
yarn
27-
```
24+
# or via yarn
2825
yarn add @happy-ts/fetch-t
29-
```
30-
31-
npm
32-
```
26+
# or just from npm
3327
npm install --save @happy-ts/fetch-t
34-
```
35-
36-
通过 JSR
37-
```
28+
# via JSR
3829
jsr add @happy-ts/fetch-t
39-
```
40-
41-
通过 deno
42-
```
30+
# for deno
4331
deno add @happy-ts/fetch-t
44-
```
45-
46-
通过 bun
47-
```
32+
# for bun
4833
bunx jsr add @happy-ts/fetch-t
4934
```
5035

README.md

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,39 +23,18 @@ Support `timeout`.
2323

2424
## Installation
2525

26-
via pnpm
27-
28-
```
26+
```sh
27+
# via pnpm
2928
pnpm add @happy-ts/fetch-t
30-
```
31-
32-
or via yarn
33-
34-
```
29+
# or via yarn
3530
yarn add @happy-ts/fetch-t
36-
```
37-
38-
or just from npm
39-
40-
```
31+
# or just from npm
4132
npm install --save @happy-ts/fetch-t
42-
```
43-
44-
via JSR
45-
46-
```
33+
# via JSR
4734
jsr add @happy-ts/fetch-t
48-
```
49-
50-
for deno
51-
52-
```
35+
# for deno
5336
deno add @happy-ts/fetch-t
54-
```
55-
56-
for bun
57-
58-
```
37+
# for bun
5938
bunx jsr add @happy-ts/fetch-t
6039
```
6140

0 commit comments

Comments
 (0)