Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.3 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.3 KB

Readium Web

Next generation SDK for publications in Web Apps

Usage

Three packages are made available by this repository, which are published on NPM. They are:

Development

You need pnpm installed as this is a monorepo using workspaces.

To install pnpm using node:

npm install -g pnpm

Note there are several other options if needed.

To install all dependencies:

pnpm install

Then workspaces should be all set up and you can build them from their directory in the following order:

  1. shared
  2. navigator-html-injectables
  3. navigator

Workspaces

  • Shared: shared models to be used across other Readium projects and implementations in Typescript.
  • Navigator: a navigator for web platforms based on the readium Navigator spec.
  • Navigator-html-injectables: provides access and control over a resource from a navigator on any modern browser or embedded browser frame.
  • Testapp/vanilla: an example of how to use the ts-toolkit.