Skip to content

thislooksfun/yaml-enforce

Repository files navigation

yaml-enforce

semantic release latest release latest stable release checks status coverage

npm version npm types weekly npm downloads npm dependents license

Enforce a structure in your yaml (or json1) files.

Installation

npm i yaml-enforce

Note: Node 14+ is required.

Usage

Contributing

If you want to help out, please read the CONTRIBUTING.md.


1Since yaml 1.2 is a superset of json, this package also works to validate json files out-of-the-box, though it is disabled in the cli by default to prevent accidentally trying to validate config files like package(-lock).json. Use the --json or -j flag to enable it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published