alf-validator
v3.1.3
Published
Extremely fast API Log Format (ALF) validator using JSON Schema
Downloads
41
Maintainers
Readme
ALF Validator
Extremely fast API Log Format (ALF) validator using JSON Schema.
Install
# to use in cli
npm install --global alf-validator
# to use as a module
npm install --save alf-validator
CLI Usage
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
Example
alf-validator alf.json
alf-validator --schema 1.0.0 alf.json
API
- async API
- callback API
- Promise API (default)
:copyright: www.mashape.com · License: ISC · Github: @mashape · Twitter: @mashape