Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ineiti/pdf_example
- Owner: ineiti
- License: mit
- Created: 2020-07-18T16:25:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T01:49:50.000Z (over 1 year ago)
- Last Synced: 2024-11-03T08:23:51.697Z (2 months ago)
- Language: TypeScript
- Size: 3.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
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`