mongoose-to-joi-translator
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "mongoose-to-joi-translator", | ||
"version": "2.0.2", | ||
"description": "Extracts schema from mongoose and generates an equivilent JOI schema.", | ||
"version": "2.0.3", | ||
"description": "Converts mongoose schema to Joi.", | ||
"repository": "git@github.com:wearereasonablepeople/mongoose-to-joi-translator.git", | ||
@@ -24,3 +24,7 @@ "main": "index.js", | ||
"mongoose": "^4.13.7" | ||
} | ||
}, | ||
"keywords": [ | ||
"joi", | ||
"mongoose" | ||
] | ||
} |
@@ -11,3 +11,2 @@  | ||
Translates Mongoose schema to Joi. You can use Joi schema to do the validation. The idea is to write database models once and validate everywhere. | ||
You may use this package with [generic-joi-validator](https://github.com/wearereasonablepeople/generic-joi-validator). | ||
@@ -14,0 +13,0 @@ ### Installation |
23650
55