validate-yaml

Validate yaml source.

Usage no npm install needed!

<script type="module">
  import validateYaml from 'https://cdn.skypack.dev/validate-yaml';
</script>

README

validate-yaml Circle CI

Validate yaml source.

Installation

$ npm install validate-yaml --save

Usage

const validate = require('validate-yaml');

let source; // yaml source

let isValid = validate(source); // true/false

Tests

Circle CI

$ npm test

License

validate-yaml is released under the MIT license.