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.
ctrl.waterfall
Advanced tools
#ctrl.waterfall
1.2.1
无
完整引用举例:
<link href="http://g.tbcdn.cn/mtb/ctrl-waterfall/{{version}}/waterfall.css" rel="stylesheet" type="text/css" />
<script type="http://g.tbcdn.cn/mtb/ctrl-waterfall/{{version}}/??waterfall.js"></script>
运行 npm install
,来安装所需的依赖模块。关于NPM的知识,请参见nodejs;
运行 grunt
,来对项目进行打包。关于Grunt的知识,请参见gruntjs;
var Waterfall = lib.waterfall;
var wf = new Waterfall({
mode: 'column',
columnAmount: 2,
columnPadding: 20,
linePadding: 10
});
document.body.appendChild(wf.root);
mode
列模式,参考值如下
columnAmout
列数,在column和fix模式下有效
columnWidth
列宽,在adaptive和fix模式下有效
columnPadding
列间距
linePadding
行间距
mode
可读写,同初始化参数
columnAmout
可读写,同初始化参数
columnWidth
可读写,同初始化参数
columnPadding
可读写,同初始化参数
linePadding
可读写,同初始化参数
FAQs
We found that ctrl.waterfall 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.