npmjs.org : @ladjs/mongoose-unique-validator : 4.0.0
Mongoose plugin which adds pre-save validation for unique fields within a Mongoose schema. This makes error handling much easier, since you will get a Mongoose validation error when you attempt to violate a unique constraint, rather than an E11000 error f
Registry -
Download -
JSON
Integrity: sha512-k61g9pEPQxpN1JuOoSNO... -
purl: pkg:npm/%40ladjs/[email protected]
Published:
Indexed:
Related tag:
v4.0.0
Loading...
Readme
Loading...
Dependencies
- @commitlint/cli ^17.0.3 Development
- @commitlint/config-conventional ^17.0.3 Development
- chai ^4.3.4 Development
- eslint 8.x Development
- eslint-config-xo-lass ^2.0.1 Development
- fixpack ^4.0.0 Development
- husky ^8.0.1 Development
- lint-staged ^13.0.3 Development
- mocha ^10.0.0 Development
- mongodb-memory-server ^8.10.0 Development
- mongoose ^6.7.2 Development
- remark-cli ^11.0.0 Development
- remark-preset-github ^4.0.4 Development
- xo 0.50 Development
- @strikeentco/get ^1.0.1