
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Lightweight PDF viewer using Mozilla's PDF JS.
npm install
npm run build
Deploy dist
to your own static server.
See example in test directory
The options PdfViewer
accepts are:
pdfUrl(required): URL to your pdf file, can be relative or absolute. If it is a cross-domain path, the remote server must support CORS.
staticHost(required):
Static files host, PdfViewer dependents on Mozila's PDF.js
and our viewer.js
, which must be served.
onerror(optional):
A custom onerror
callback function, if error occurs when reading or rendering your pdf file, this function will be called.
If omitted, our viewer's default error handler will be used.
To get a demo:
npm start
http://localhost:9000
http://localhost:9001
FAQs
PDF Viewer using Mozila PDF JS.
The npm package pdfviewer receives a total of 168 weekly downloads. As such, pdfviewer popularity was classified as not popular.
We found that pdfviewer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.