Socket
Socket
Sign inDemoInstall

svelte-pdfjs

Package Overview
Dependencies
1
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.4 to 0.3.5

4

package.json
{
"name": "svelte-pdfjs",
"version": "0.3.4",
"version": "0.3.5",
"devDependencies": {

@@ -37,3 +37,3 @@ "@sveltejs/adapter-netlify": "^1.0.0-next.44",

"svelte": "./index.js",
"readme": "## svelte-pdfjs\n\nA wrapper around Mozilla's PDFJS renderer. Only cares about loading and showing the PDF and nothing else, all the fancy stuff such as styling the viewer is left up to the consumer. Still in early stages so feel free to create an issue or a PR for any bugs that you find, any improvements or feature requests.\n\n## Usage\n\nSee [src/routes/index.svelte](src/routes/index.svelte) \nDemo: [Netlify](https://svelte-pdfjs.netlify.app)\n\n## SvelteKit\n\nIt's compatible with SvelteKit, just import the component and use it in a `{#if browser}` you'll have to install pdfjs-dist as a dependency.\n\n## TODOs:\n\n- [x] Text layer rendering\n- [x] SvelteKit compatibility\n- [ ] Think of a better name for the `zoomLevel` prop on `Page`\n- [ ] SVG renderer\n- [ ] Annotation layer\n- [ ] Error handling\n- [ ] Expose more stuff\n\n## License\n\n[MIT](LICENSE)\n"
"readme": "## svelte-pdfjs\r\n\r\nA wrapper around Mozilla's PDFJS renderer. Only cares about loading and showing the PDF and nothing else, all the fancy stuff such as styling the viewer is left up to the consumer. Still in early stages so feel free to create an issue or a PR for any bugs that you find, any improvements or feature requests.\r\n\r\n## Usage\r\n\r\nSee [src/routes/index.svelte](src/routes/index.svelte) \r\nDemo: [Netlify](https://svelte-pdfjs.netlify.app)\r\n\r\n## SvelteKit\r\n\r\nIt's compatible with SvelteKit, just import the component and use it in a `{#if browser}` you'll have to install pdfjs-dist as a dependency.\r\n\r\n## TODOs:\r\n\r\n- [x] Text layer rendering\r\n- [x] SvelteKit compatibility\r\n- [ ] Think of a better name for the `zoomLevel` prop on `Page`\r\n- [ ] SVG renderer\r\n- [ ] Annotation layer\r\n- [ ] Error handling\r\n- [ ] Expose more stuff\r\n\r\n## License\r\n\r\n[MIT](LICENSE)\r\n"
}

@@ -0,0 +0,0 @@ ## svelte-pdfjs

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc