Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriGor committed Oct 25, 2018
1 parent 996b6e5 commit 709ede7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# mongoose-slug-updater

Mongoose plugin for creating and updating slugs based on mongoose schema fields. For example you can create a slug based on a document's title and author's name: _my-post-title-kevin-roosevelt_, or unique slugs based on just the title: _my-post-title-Nyiy4wW9l_.
Mongoose plugin for creating and updating slugs based on mongoose schema fields.
Operations `save`, `update`, `updateOne` and `updateMany` are supported.
For example you can create a slug based on a document's title and author's name: _my-post-title-slim-shady_, or unique slugs based on just the title: _my-post-title-Nyiy4wW9l_.

## Installation

Expand Down

0 comments on commit 709ede7

Please sign in to comment.