@archival-iiif/presentation-builder
TypeScript icon, indicating that this package has built-in type declarations

1.5.3 • Public • Published

Material-UI logo

Archival IIIF presentation builder

Javascript library for generating IIIF manifests

Supported specifications

Installation

presentation-builder is available as an npm package.

// with npm
npm -i @archival-iiif/presentation-builder

// with yarn
yarn add @archival-iiif/presentation-builder

Usage

Code

import {Manifest} from "@archival-iiif/presentation-builder";

const m = new Manifest('https://example.org/iiif/book1/manifest', 'Book 1');
m.setContext();

JSON output

{
  "id": "https://example.org/iiif/book1/manifest", 
  "type": "Manifest",
  "@context": [
    "http://www.w3.org/ns/anno.jsonld",
    "http://iiif.io/api/presentation/3/context.json"
  ],
  "label": {"none": ["Book 1"]}
}

More examples

License

This software is released under the MIT license.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.5.31latest

Version History

VersionDownloads (Last 7 Days)Published
1.5.31
1.5.21
1.5.10
1.5.01
1.4.40
1.4.20
1.4.10
1.4.01
1.3.41
1.3.31
1.3.21
1.3.11
1.3.01
1.2.101
1.2.90
1.2.80
1.2.71
1.2.61
1.2.51
1.2.40
1.2.31
1.2.20
1.2.11
1.2.01
1.1.11
1.1.00
1.0.131
1.0.121
1.0.111
1.0.101
1.0.90
1.0.80
1.0.70
1.0.61
1.0.50
1.0.41
1.0.31
1.0.21
1.0.11
1.0.01

Package Sidebar

Install

npm i @archival-iiif/presentation-builder

Weekly Downloads

27

Version

1.5.3

License

MIT

Unpacked Size

104 kB

Total Files

99

Last publish

Collaborators

  • kerim1
  • swiss-social-archives