manifesto.js is a robust and actively maintained JavaScript/TypeScript utility library designed for interacting with the IIIF (International Image Interoperability Framework) Presentation API. It provides a comprehensive set of classes and methods for parsing, traversing, and extracting information from IIIF manifests, covering both client-side browser environments and server-side Node.js applications. The current stable version is 4.3.4. The library receives frequent updates, typically patch and minor releases, driven by dependency bumps, bug fixes, and continuous feature enhancements to align with evolving IIIF specifications, such as recent additions for IIIF Presentation v3 support including `summary` and annotations. Its key differentiators include its full adherence to IIIF Presentation API specifications, its dual utility for both frontend and backend development, and its comprehensive TypeScript type definitions, enabling robust and type-safe development workflows.
npm install manifesto.jsVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to fetch, parse, and extract basic information (title, summary, first canvas details) from a IIIF manifest using manifesto.js.
Replace calls to `resource.getDescription()` with `resource.getSummary()`.
Ensure your project's TypeScript version is 5.0 or newer, or adjust your `tsconfig.json` to be compatible.
It is recommended to use a Node.js version officially supported and actively maintained, preferably Node.js 18 or 20, for optimal compatibility and security.
Ensure you are using named imports for ESM: `import { Utils } from 'manifesto.js';`Update your code to use `IIIFResource.getSummary()` instead of `IIIFResource.getDescription()`.
Run `npm install manifesto.js` (or `yarn add manifesto.js`). Verify your TypeScript configuration if the issue persists after installation.
No dependency data recorded yet.