{"library":"joi-mongodb-objectid","type":"library","category":null,"description":"Joi extension to validate MongoDB ObjectId. Version 0.1.0 is stable, released in 2018, with no further updates. Provides a single `.objectId()` Joi type that validates BSON ObjectId instances. Depends on `joi >= 13` and `bson`. Minimal alternative to custom validators in Joi schemas for MongoDB applications.","language":"javascript","status":"active","version":"0.1.0","tags":["javascript","joi","extension","mongodb","objectid","bson"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install joi-mongodb-objectid","imports":["const JoiObjectId = require('joi-mongodb-objectid')","const ObjectId = require('bson').ObjectId","Joi.objectId().validate(someValue)"]},{"cmd":"yarn add joi-mongodb-objectid","imports":[]},{"cmd":"pnpm add joi-mongodb-objectid","imports":[]}],"homepage":"https://github.com/ratson/joi-extentions/tree/master/packages/joi-mongodb-objectid","github":"https://github.com/ratson/joi-extentions/tree/master/packages/joi-mongodb-objectid","docs":null,"changelog":null,"pypi":null,"npm":"joi-mongodb-objectid","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}