1.0.19 • Published 1 year ago

yaml-verify v1.0.19

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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.

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago