
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
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
Supply Chain Security
Vulnerability
Quality
Maintenance
License
AI-detected possible typosquat
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
react-doc-viewer |
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
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 57 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 News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.