Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/readium/ts-toolkit

A toolkit for ebooks, audiobooks and comics written in Typescript
https://github.com/readium/ts-toolkit

audiobooks cbr cbz ebook ebook-reader ebooks epub reading typescript webapp

Last synced: about 10 hours ago
JSON representation

A toolkit for ebooks, audiobooks and comics written in Typescript

Awesome Lists containing this project

README

        

# 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:
- [@readium/shared](https://www.npmjs.com/package/@readium/shared)
- [@readium/navigator-html-injectables](https://www.npmjs.com/package/@readium/navigator-html-injectables)
- [@readium/navigator](https://www.npmjs.com/package/@readium/navigator)

# Development

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

To install pnpm using node:

```sh
npm install -g pnpm
```

Note there are [several other options](https://pnpm.io/installation) if needed.

To install all dependencies:

```sh
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/): shared models to be used across other Readium projects and implementations in Typescript.
- [Navigator](./navigator/): a navigator for web platforms based on the readium Navigator spec.
- [Navigator-html-injectables](./navigator-html-injectables/): provides access and control over a resource from a navigator on any modern browser or embedded browser frame.
- [Testapp/vanilla](./testapp/vanilla/): an example of how to use the ts-toolkit.