Extremely fast API Log Format (ALF) validator using JSON Schema.
# to use in cli
npm install --global alf-validator
# to use as a module
npm install --save alf-validator
Usage: src/bin.js <file...> [options]
Options:
--help, -h Show help [boolean]
--filter, -f filter additional properties before validation
[boolean] [default: false]
--schema, -s validate using specific schema version
[string] [default: "latest"]
Note: you can also pipe through content for validation in the shell
alf-validator alf.json
alf-validator --schema 1.0.0 alf.json
- async API
- callback API
- Promise API (default)
©️ www.mashape.com · License: ISC · Github: @mashape · Twitter: @mashape