2.0.0 • Published 8 years ago
joi-manager v2.0.0
joi-manager · 
Manage Joi schemas with joy.
API
new JoiManager([defaultOptions])
Arguments
[defaultOptions](Object): Optional. Options that will be passed toJoi.validate.
Returns
JoiManager instance.
JoiManager
Methods
add(schemaName, schema)→ this: Adds a new schema to the list.get(schemaName)→ schema: Retrieves a schema from the list by its name.validate(schemaName, value, [options])→ *: Validates avalueaccording to schema that was added with theaddmethod.optionsare merged withdefaultOptions.
2.0.0
8 years ago
1.1.0
8 years ago
1.0.0
8 years ago
1.0.0-alpha.6
9 years ago
1.0.0-alpha.5
9 years ago
1.0.0-alpha.4
9 years ago
1.0.0-alpha.3
9 years ago
1.0.0-alpha.2
9 years ago
1.0.0-alpha.1
9 years ago