franz-validate
v0.0.1
Published
validate franz.yml files
Downloads
2
Maintainers
Readme
franz-validate
validate franz.yml files
Install
$ npm install --save franz-validate
Usage
const franzValidate = require('franz-validate')
const franzFile = {
service: {
port: 3000,
environment: {
node: 7
}
},
endpoints: {
'get-users': {
url: '/get-users',
method: 'GET'
}
}
}
franzValidate(franzFile)
// => true
API
franzValidate(franz, [options])
Returns an boolean
franz
Type: object
Required
franz file object
options
Type: object
docker
Type: object
Default: false
true
if project is using docker.
License
MIT © Bu Kinoshita