Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

alf-validator

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alf-validator

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

latest
Source
npmnpm
Version
3.1.3
Version published
Maintainers
1
Created
Source

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

:copyright: www.mashape.com  ·  License: ISC  ·  Github: @mashape  ·  Twitter: @mashape

Keywords

alf

FAQs

Package last updated on 28 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts