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.
安装:
npm install node-cube -g
使用:
cube start
http://localhost:9999/demo
1、 .init() 初始化
2、 .data(data) 更新数据,有时数据是异步载入的
3、 update() / .updateData() 数据更新相关的计算和绘制
4、 .render(data) 更新数据并绘制 即 .data方法和updateData方法的叠加
5、 .draw() 仅仅绘制
3、 .hide() 隐藏/回到init刚结束的初始状态而不销毁 hide的时候 必须触发hide事件
4、 .destory() 清除 .destory 彻底销毁元素
常用的有 2d地图: resize movestart moveend data select(点击选择区域)
FAQs
2d map visualization lib
The npm package ldmap receives a total of 2 weekly downloads. As such, ldmap popularity was classified as not popular.
We found that ldmap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
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.