Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
generator-tingle
Advanced tools
tingle 组件的脚手架
全局安装脚手架工具 yo
$ npm install yo -g
全局安装 tingle
组件脚手架
$ npm install generator-tingle -g
创建组件,比如 tingle-your-component
组件
$ mkdir tingle-your-component // 创建组件目录
$ cd tingle-your-component
$ yo tingle:component // 使用脚手架,根据提示按步骤执行
$ npm install // 安装依赖
组件目录名称命名规则:
- 必须以
tingle-
为前缀- 多个单词必须使用
-
分割- 字母全部小写
- 不建议包含下划线及特殊字符
$ gulp d // 启动本地的开发服务器
执行了上面的命令后,会调起系统默认的浏览器,此时对 src
和 demo
目录下的文件做出的任何更改,都会自动触发demo.js
的重新构建,浏览器也会自动刷新,enjoy!
$ gulp b
请移步这里 change log
FAQs
Scaffold for Tingle Component
The npm package generator-tingle receives a total of 4 weekly downloads. As such, generator-tingle popularity was classified as not popular.
We found that generator-tingle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.