From 2b364b46894971773169e9b56c50003112ae9380 Mon Sep 17 00:00:00 2001 From: Mike Botsko Date: Wed, 27 Dec 2017 12:13:21 -0800 Subject: [PATCH] Clarifies NPM command. Fixes #72 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b151819..28acfa8 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ from MongoDB. Usage ----- -``` -npm install mongoose-unique-validator -``` +Yarn: `yarn add mongoose-unique-validator` + +NPM: `npm install --save mongoose-unique-validator` Then, simply apply the plugin to your schema: