franz-validate

0.0.1 • Public • Published

franz-validate CircleCI

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

Package Sidebar

Install

npm i franz-validate

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • bukinoshita