Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@nutui/draw-page-structure
Advanced tools
a way to make skeleton screen
npm i @nutui/draw-page-structure -g
DPS init
生成配置文件DPS start
开始生成骨架屏dps.config.js
进行相关配置includeElement
定制某个节点生成生成什么样
子,或者使用init
在生成骨架屏之前对DOM节点进行调整,比如删除干扰节点;evalDOM.js
支持直接在浏览器端运行,在控制台打印当前页面骨架屏节点,复制添加到应用页面参数 | 说明 | 默认值 | 是否必填 |
---|---|---|---|
url | 待生成骨架屏的页面地址 | -- | 是 |
output.filepath | 生成的骨架屏节点写入的文件 | -- | 是 |
output.injectSelector | 骨架屏节点插入的位置 | #app | 否 |
background | 骨架屏主题色 | #ecf0f2 | 否 |
animation | css3动画属性 | -- | 否 |
device | 设备类型 | mobile | 否 |
init | 开始生成之前的操作 | -- | 否 |
includeElement(node, draw) | 定制某个节点如何生成 | -- | 否 |
writePageStructure(html, filepath) | 回调的骨架屏节点 | -- | 否 |
FAQs
a way to make skeleton screen
The npm package @nutui/draw-page-structure receives a total of 0 weekly downloads. As such, @nutui/draw-page-structure popularity was classified as not popular.
We found that @nutui/draw-page-structure 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.