Skip to content

Commit

Permalink
docs: add installation instructions for bun (alibaba#2294)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks authored Aug 27, 2023
1 parent 2ff3ed9 commit 3fc5493
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ $ npm install --save ahooks
$ yarn add ahooks
# or
$ pnpm add ahooks
# or
$ bun add ahooks
```

## 🔨 Usage
Expand Down
2 changes: 2 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ $ npm install --save ahooks
$ yarn add ahooks
# or
$ pnpm add ahooks
# or
$ bun add ahooks
```

## 🔨 使用
Expand Down
2 changes: 2 additions & 0 deletions docs/guide/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ $ npm install --save ahooks
$ yarn add ahooks
# or
$ pnpm add ahooks
# or
$ bun add ahooks
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/guide/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ $ npm install --save ahooks
$ yarn add ahooks
# or
$ pnpm add ahooks
# or
$ bun add ahooks
```

## 使用
Expand Down
2 changes: 2 additions & 0 deletions docs/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ $ npm install --save ahooks
$ yarn add ahooks
# or
$ pnpm add ahooks
# or
$ bun add ahooks
```

## 🔨 Usage
Expand Down
4 changes: 4 additions & 0 deletions docs/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ footer: Open-source MIT Licensed | Copyright © 2019-present<br />Powered by [du
$ npm install --save ahooks
# or
$ yarn add ahooks
# or
$ pnpm add ahooks
# or
$ bun add ahooks
```

## 🔨 使用
Expand Down
6 changes: 6 additions & 0 deletions packages/use-url-state/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ Or with pnpm
pnpm add @ahooksjs/use-url-state
```

Or with Bun

```bash
bun add @ahooksjs/use-url-state
```

## Example

```javascript
Expand Down

0 comments on commit 3fc5493

Please sign in to comment.