
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
react-doc-viewer-plus
Advanced tools
A powerful document viewer component for React that supports various file formats including images, PDF, Office documents, OFD files and videos
A powerful document viewer component for React that supports various file formats including images, PDF, Office documents, OFD files and videos.
npm install react-doc-viewer-plus
# or
yarn add react-doc-viewer-plus
import { DocViewerPlus } from 'react-doc-viewer-plus';
function App() {
const [visible, setVisible] = useState(false);
return (
<DocViewerPlus
previewFile={{
fileUrl: 'https://example.com/sample.pdf',
fileName: 'Sample Document.pdf'
}}
visibleViewerPlus={visible}
onVisibleChange={() => setVisible(!visible)}
/>
);
}
Prop | Type | Description |
---|---|---|
previewFile | { fileUrl?: string; fileName?: string; } | The file to preview |
response | { url?: string; } | Optional response object containing alternative URL |
visibleViewerPlus | boolean | Controls the visibility of the viewer |
onVisibleChange | () => void | Callback when visibility changes |
MIT
FAQs
A powerful document viewer component for React that supports various file formats including images, PDF, Office documents, OFD files and videos
The npm package react-doc-viewer-plus receives a total of 92 weekly downloads. As such, react-doc-viewer-plus popularity was classified as not popular.
We found that react-doc-viewer-plus demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.