
Product
Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.
xlsx-viewer
Advanced tools

npm install xlsx-viewer
import xlsxViewer from 'xlsx-viewer'
import 'xlsx-viewer/lib/index.css'
default
xlsxViewer.renderXlsx(data, document.querySelector('div'))
append options
xlsxViewer.renderXlsx(data, document.querySelector('div'), {
initialSheetIndex: 0,
frameRenderSize: 500,
onLoad(sheets) {
console.log('onLoad', sheets)
},
onRender(sheet) {
console.log('onRender', sheet)
},
onSwitch(sheet) {
console.log('onSwitch', sheet)
}
})
| Prop | Prop Type | Type | Required |
|---|---|---|---|
| data | Attribute | ArrayBuffer, Blob, File | True |
| element | Attribute | HTMLElement | True |
| opitons | Attribute | Object | False |
Package: el-form-model
E-mail: diquick@qq.com
Author: wd3322
FAQs
xlsx viewer
The npm package xlsx-viewer receives a total of 401 weekly downloads. As such, xlsx-viewer popularity was classified as not popular.
We found that xlsx-viewer 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.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.