Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
prizmdoc-reader
Advanced tools
If you're building an application that requires an easy-to-implement document viewer, then using Accusoft Services to display documents is perfect for you. With just a few lines of code, you can embed a document viewer into any web application or site. Start with our configurator here or read the FAQs.
You can view dozens of file types within a browser without the need to download additional applications. Easily add document viewing and search to your web applications using only HTML5 standard technologies. Create a trial PrizmDoc Reader account, which gives you up to 100 free transactions per month. Sign up for a free account now to get started.
PrizmDoc supports more than 300 file types, including :
npm install prizmdoc-reader
Note: jQuery version 1.6 or higher is required to run PrizmDoc Reader.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script src="prizmdoc-reader.js" type="text/javascript"></script>
<script>
getViewer(prizmDocKeyValue, documentUrl, viewerElementId, {optionalParameter : OptionalValue});
</script>
GET
Name | Discription | Details |
---|---|---|
acs-api-key | Your api key {{api-key-value}} | Required |
Name | Discription | Details |
---|---|---|
key | Your api key {{api-key-value}} | Required |
document | The direct url to the document you wish to display | Required |
viewerElementId | Viewer Iframe will be loaded within this HTML Element ID | Required |
region | PrizmDoc Reader will be running on US Servers or EU Servers based on your API key (USA Default) | Optional |
logoimage | Changes the logo image that displays before the viewer is loaded (url) | Optional |
viewertype | Choosing between either the html5 viewer or the slideshow version (html5 or slideshow) | Optional |
viewerwidth | Viewer width in pixels | Optional |
viewerheight | viewer height in pixels | Optional |
lowerToolbarColor | Changes the color of the toolbar using hex color codes without the # (i.e. FFFFFF) | Optional |
upperToolbarColor | Changes the color of the toolbar using hex color codes without the # (i.e. FFFFFF) | Optional |
bottomToolbarColor | Changes the color of the toolbar using hex color codes without the # (i.e. FFFFFF) | Optional |
backgroundColor | Changes the color of the background using hex color codes without the # (i.e. FFFFFF) | Optional |
fontColor | Changes the color of the toolbar font using hex color codes without the # (i.e. FFFFFF) | Optional |
animduration | Sets the amount of time between slide changes in ms (int) | Optional |
animspeed | Sets the amount of time between slide changes in ms (int) | Optional |
hideAll | false | Optional |
automatic | Should the slideshow start and rotate automatically (yes / no) | Optional |
showcontrols | Should the controls display on hover? (yes / no) | Optional |
centercontrols | Should the controls be centered or at the top of the slideshow (yes / no) | Optional |
keyboardnav | Allow for keyboard navigation (yes / no) | Optional |
hoverpause | Should the slideshow pause on hover? (yes / no) | Optional |
Empty.
Name | Value |
---|---|
Content-Encoding | gzip |
Content-Type | text/html |
Returns the document within the viewer itself with all the parameters you defined when initializing the viewer.
1.0.0
MIT
©2016. Accusoft Corporation. All Rights Reserved.
FAQs
PrizmDoc Reader Helper Module
The npm package prizmdoc-reader receives a total of 1 weekly downloads. As such, prizmdoc-reader popularity was classified as not popular.
We found that prizmdoc-reader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.