stremio-addon-linter
Version:
Checks the validity of Stremio add-ons (protocol v3)
15 lines (7 loc) • 340 B
Markdown
# stremio-addon-linter
Checks the validity of Stremio add-ons. Used by `stremio-addon-sdk`.
## Usage
#### `linter.lintManifest(manifest)`
Checks the validity of a manifest.
Returns `{ valid: true, errors: [], warnings: [...] }` if the manifest is valid
Returns `{ valid: false, errors: [...], warnings: [...] }` if errors were found