Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ineiti/pdf_example

Tring to make pdf.js work in typescript
https://github.com/ineiti/pdf_example

Last synced: 21 days ago
JSON representation

Tring to make pdf.js work in typescript

Awesome Lists containing this project

README

        

# pdf-example

This is to get typescript bindings in mozilla's pdf.js library

https://github.com/mozilla/pdf.js/pull/12102

The pdf.js and pdf_example need to be in the same directory:

```bash
mkdir tmp; cd tmp
git clone --depth=1 https://github.com/ineiti/pdf.js -b add_types_annotations
( cd pdf.js && npm ci && gulp generic && npx tsc -p . )
git clone --depth=1 https://github.com/ineiti/pdf_example
cd pdf_example && npm ci && npm run start
```

The entry point is in `src/app/home/home.component.ts`