1.0.0 • Published 8 months ago
jy-validator v1.0.0
A simple CLI tool to validate JSON and YAML files.
Installation
npm install -g jy-validator
Usage
# Validate a JSON file
jy-validator example.json
# Validate a YAML file
jy-validator example.yaml
# Force specific format type
jy-validator example.txt -t json
jy-validator example.txt -t yaml
Features
- Validates JSON and YAML files
- Automatic format detection based on file extension
- Manual format override with
-t
flag - Clear error messages
- Colorized output
License
MIT
1.0.0
8 months ago