Validates that a URL dereferences to a valid IIIF Presentation Manifest. A small building block for Linked Data tooling that needs to tell a declared IIIF manifest apart from one that actually resolves, parses, and loads in a real viewer.
npm install @lde/iiif-validatorimport { validateManifest } from '@lde/iiif-validator';
const verdict = await validateManifest('https://example.org/manifest.json');
if (verdict.valid) {
// verdict.reason === 'valid-manifest'
}See the full documentation.
