Skip to content

Commit

Permalink
refactore: migrate to mongoose v6
Browse files Browse the repository at this point in the history
  • Loading branch information
lykmapipo committed Sep 27, 2021
1 parent 9fcb0d2 commit 9a46d49
Show file tree
Hide file tree
Showing 5 changed files with 2,601 additions and 2,418 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ mongoose-gridfs

mongoose [gridfs](https://docs.mongodb.com/manual/core/gridfs/) on top of [new gridfs api](http://mongodb.github.io/node-mongodb-native/3.1/tutorials/gridfs/)

*Note!: Only compatible with Mongoose >= 5.7.0*
*Note!: Only compatible with Mongoose >= 6.0.7+*

*Note!: Ensure mongoose connection before use*

## Requirements

- [NodeJS v13+](https://nodejs.org)
- [Npm v6.12+](https://www.npmjs.com/)
- [MongoDB v4+](https://www.mongodb.com/)
- [Mongoose v6+](https://github.com/Automattic/mongoose)

## Installation
```sh
$ npm install --save mongoose-gridfs
Expand Down
Loading

0 comments on commit 9a46d49

Please sign in to comment.