Skip to content

Extremely fast API Log Format (ALF) validator using JSON Schema.

License

Notifications You must be signed in to change notification settings

Kong/alf-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALF Validator version License

Extremely fast API Log Format (ALF) validator using JSON Schema.

Build Status Downloads Code Climate Coverage Status Dependencies

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


©️ www.mashape.com  ·  License: ISC  ·  Github: @mashape  ·  Twitter: @mashape