
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
pull-iconfont-cli
Advanced tools
从 iconfont 拉取项目图标文件到本地
npm i pull-iconfont-cli -D
npx pull-iconfont-cli download https://at.alicdn.com/t/font_313726_0uhevtktz4ld.css -f iconfont.css -d ./src/common/css/UI/font
# 命令格式
pull-iconfont-cli pull <pid> <username> <password> -d [文件下载到的目标路径] -f [文件名]
# 示例
npx pull-iconfont-cli pull 313626 13128732587 yourpassword -f iconfont.css -d ./src/common/css/UI/font
pull 命令
参数说明
npx pull-iconfont-cli pull <pid> <username> <password> -d [文件下载到的目标路径] -f [文件名]
如何获取 参数pid 即项目id
![]()
示例
# 不指定输出目录和文件名
npx pull-iconfont-cli pull 313626 13128732587 yourpassword
# 指定输出目录和文件名
npx pull-iconfont-cli pull 313626 13128732587 yourpassword -f iconfont.css -d ./src/common/css/UI/font
download 命令
参数说明
npx pull-iconfont-cli download <font class cdn链接> -d [文件下载到的目标路径] -f [文件名]
如何获取 font class cdn链接
![]()
示例
npx pull-iconfont-cli download https://at.alicdn.com/t/font_313726_0uhevtktz4ld.css -f iconfont.css -d ./src/common/css/UI/font
const downloadIconfont = require('pull-iconfont-cli')
let downloadUrl = 'https://at.alicdn.com/t/font_313726_0uhevtktz4ld.css'
let fileName = 'iconfont.css'
downloadIconfont({
url: downloadUrl,
fileName: fileName,
dest: './css/icon/fonts'
})
├── font
│ ├── iconfont.css
│ ├── iconfont.eot
│ └── iconfont.woff
| 选项名 | 解释 | 是否必选 | 默认值 |
|---|---|---|---|
| url | iconfont中提供的项目在线链接,注意是 font class中的.css结尾的链接哦 | 必选 | 无 |
| fileName | 下载后文件名 | 可选 | iconfont.css |
| dest | 下载后输出目录 | 可选 | 当前目录下/font文件夹 |
FAQs
从 iconfont 拉取项目图标文件到本地
The npm package pull-iconfont-cli receives a total of 3 weekly downloads. As such, pull-iconfont-cli popularity was classified as not popular.
We found that pull-iconfont-cli 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.