UNPKG
trainingproject
Version:
latest (1.0.0)
1.0.0
A module to teach you how to module.
github.com/npm/how-to-npm
npm/how-to-npm
trainingproject
/
node_modules
/
explicit
/
lib
/
schema
/
plugin.js
10 lines
(7 loc)
•
172 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
var
Joi
=
require
(
'joi'
)
module
.
exports
=
Joi
.
object
({
name
:
Joi
.
string
().
required
(),
validate
:
Joi
.
func
().
required
(),
augment
:
Joi
.
func
() }).
strict
()