validity-string-represents-mongodb-objectid
Validity style validator to ensure a property is an Object ID.
Installation
npm install validity-string-represents-mongodb-objectid
Usage
Below is a simple example for usage with schemata:
var validity = schemata = stringRepresentsObjectId = var schema = schema
Credits
Tom Gallacher follow me on twitter @tomgco
Licence
Licensed under the MIT License