alf-validator

3.1.3 • Public • Published

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

Package Sidebar

Install

npm i alf-validator

Weekly Downloads

6

Version

3.1.3

License

MIT

Last publish

Collaborators

  • ahmadnassri