Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovepixelart committed Jun 15, 2024
1 parent 75a5b37 commit 6fad2db
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Caching queries is a good way to improve performance of your application
```json
{
"node": "18.x || 20.x || 22.x",
"mongoose": "6.6.x || 7.x || 8.x",
"mongoose": ">=6.6.x || 7.x || 8.x",
}
```

Expand All @@ -53,24 +53,24 @@ pnpm add ts-cache-mongoose
bun add ts-cache-mongoose
```

- This plugin requires mongoose `6.6.x || 7.x || 8.x` to be installed as a peer dependency
- This plugin requires mongoose `>=6.6.x || 7.x || 8.x` to be installed as a peer dependency

```bash
# For mongoose 6
npm install mongoose@6.12.8
yarn add mongoose@6.12.8
pnpm add mongoose@6.12.8
bun add mongoose@6.12.8
# For mongoose 7
npm install mongoose@7.6.11
yarn add mongoose@7.6.11
pnpm add mongoose@7.6.11
bun add mongoose@7.6.11
# For mongoose 8
npm install mongoose@8.3.4
yarn add mongoose@8.3.4
pnpm add mongoose@8.3.4
bun add mongoose@8.3.4
# For latest mongoose 6
npm install mongoose@6
yarn add mongoose@6
pnpm add mongoose@6
bun add mongoose@6
# For latest mongoose 7
npm install mongoose@7
yarn add mongoose@7
pnpm add mongoose@7
bun add mongoose@7
# For latest mongoose 8
npm install mongoose@8
yarn add mongoose@8
pnpm add mongoose@8
bun add mongoose@8
```

## Example
Expand Down

0 comments on commit 6fad2db

Please sign in to comment.