Next generation SDK for publications in Web Apps
Three packages are made available by this repository, which are published on NPM. They are:
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:
- shared
- navigator-html-injectables
- navigator
- 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.