apib-lint

Basic linter for APIB files

Usage no npm install needed!

<script type="module">
  import apibLint from 'https://cdn.skypack.dev/apib-lint';
</script>

README

apib-lint

Build Status

Parses an APIB file and fails on any errors or warnings. The purpose of this script is to ensure an APIB is absolutely valid to avoid endpoints being silently ignored by other tools such as Dredd.

Installation

$ npm i apib-lint --save-dev

Usage

$ apib-lint some-file.apib

Testing

$ npm test
$ npm run lint