Socket
Book a DemoInstallSign in
Socket

yaml-validate

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaml-validate

`npm i yaml-validate`

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

yaml-validate

npm i yaml-validate

Build Status

Using

yamlValidate = require('yaml-validate');

// takes a glob as a file matcher
yamlValidate('**/*.yaml')
.then(function(yamls) {
// all is well
})
.catch(function(err) {
// something is invalid
});

Why?

Sometimes as part of a linting process for a code base you want to ensure that everything is valid yaml. This tool aims to make it easy to integrate a yaml validation layer to your CI flow.

FAQs

Package last updated on 21 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts