franz-validate
validate franz.yml files
Install
$ npm install --save franz-validate
Usage
const franzValidate = const franzFile = service: port: 3000 environment: node: 7 endpoints: 'get-users': url: '/get-users' method: 'GET' // => 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