New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yaml-verify

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaml-verify

A CLI utility to ensure proper formatting of YAML files.

  • 1.0.19
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
242
decreased by-61.65%
Maintainers
1
Weekly downloads
 
Created
Source

yaml-verify

yaml-verify is a command-line utility designed to validate YAML files, ensuring they are free from syntax errors and duplicate keys, thus enhancing the integrity of your YAML configurations.

Features

  • Syntax Validation: Ensures your YAML files are syntactically correct.
  • Unique Key Validation: Checks for and prevents duplicate keys at each level in your YAML files.
  • CLI Flexibility: Easy-to-use command-line interface to validate files or directories containing YAML files.
  • Cross-Platform: Works on Windows, macOS, and Linux.

Installation

To install yaml-verify globally, use npm:

npm install -g yaml-verify

Usage

To validate a single YAML file:

yaml-verify path/to/file.yaml

To validate multiple YAML files:

yaml-verify path/to/file1.yaml path/to/file2.yaml

To validate all YAML files in a directory:

yaml-verify path/to/directory

Options

  • -h, --help: Display help information.
  • -v, --version: Display the current version of yaml-verify.

Examples

Validate a single YAML file:

yaml-verify config.yaml

Validate multiple YAML files:

yaml-verify config.yaml data.yaml

Validate all YAML files in a directory:

yaml-verify /path/to/configs/

Contributing

Contributions to yaml-verify are welcome! Please refer to the Contributing Guidelines for more information.

License

This project is licensed under the MIT License.

Support

If you encounter any issues or have any questions about yaml-verify, please file an issue on the GitHub repository.

Keywords

FAQs

Package last updated on 25 Apr 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc