@iiif/manifold

manifold

npm install @iiif/manifold --save

Stateful utils on top of manifesto. Returns a helperobject that can be used to navigate a IIIF manifest.

e.g.

  • getMetadata: returns all metadata for current image, range, canvas, sequence, manifest)
  • getCurrentRange, getPreviousRange, getNextRange: Used to navigate a flattened range tree (useful for IIIF AV scenarios)
  • getTree: Returns a default tree (sortable by navDate) of collections, manifests, ranges, or a tree based on a given top range.

Has an ajax implementation of manifesto's IExternalResource(used in the IIIF auth flow).

Getting Started

Documentation

https://iiif-commons.github.io/manifold/

Developer Setup

git clone https://github.com/iiif-commons/manifold.git
npm install
npm run build

Publishing Package

  1. Bump the version locally using npm versionon a branch other than master. Example: npm version patch -m 'bump to v3.0.42'
  2. Push the bump version branch to GitHub and create a pull request to master.
  3. After the pull request is merged, checkout masterand pull the latest changes. git checkout master && git pull
  4. Run npm publish
  5. Push the git tags created git push --tags

HomePage

https://github.com/iiif-commons/manifold#readme

Repository

https+https://github.com/iiif-commons/manifold


上一篇:universalviewer
下一篇:assert-js

相关推荐

  • iiif-prezi2to3

    Converts IIIF Presentation v2 to v3 IIIF Presentation v2 to v3 converter (Javascript) Travisbuild...

    3 个月前
  • biiif

    A CLI to build IIIF collections biiif (build iiif) 👷✨📃 Build Status(https://travisci.org/edsilv...

    7 个月前
  • @iiif/vocabulary

    IIIF Vocabulary vocabulary npm install @iiif/vocabulary save A central place to keep all II...

    7 个月前
  • @iiif/iiif-tree-component

    iiiftreecomponent npm i npm run build npm start HomePage https://github.com/iiifcom...

    7 天前
  • @iiif/iiif-metadata-component

    iiifmetadatacomponent npm i npm run build npm start HomePage https://github.com/i...

    7 个月前
  • @iiif/iiif-gallery-component

    iiifgallerycomponent npm i npm run build npm start HomePage https://github.com/i...

    7 个月前
  • @iiif/iiif-av-component

    iiifavcomponent npm i npm run build npm start HomePage https://github.com/iiifc...

    7 天前
  • @iiif/base-component

    basecomponent npm i npm run build HomePage https://github.com/iiifcommons/basecompone...

    6 个月前
  • @iiif-mec/experience-editor

    Core components for manifest editing IIIF Experience Editor HomePage https://github.com/digi...

    5 个月前
  • @iiif-mec/core

    Core components for manifest editing IIIF Manifest Editor Core Components HomePage https://gi...

    5 个月前

官方社区

扫码加入 JavaScript 社区