0.0.11 • Published 5 years ago

@gotoeasy/svgicon v0.0.11

Weekly downloads
11
License
MIT
Repository
github
Last release
5 years ago

@gotoeasy/svgicon

NPM version License

简化满足svg图标需求: 收集 => 筛选 => 图标字体

  • 从指定git地址导入svg图标到本地磁盘缓存
  • 从指定npm包导入svg图标到本地磁盘缓存
  • 从指定目录导入svg图标到本地磁盘缓存
  • 开启服务器,通过浏览器检索浏览图标
  • 通过浏览器筛选图标(收藏/取消收藏)
  • 使用命令行,按收藏内容生成webfonts相关文件

https://github.com/gotoeasy/npm-packages/blob/master/svgicon/www/search.png

Install

npm i -g @gotoeasy/svgicon

Sample (cli)

// import from giturl
svgicon imp https://github.com/FortAwesome/Font-Awesome.git


// import from npm package
svgicon imp @fortawesome/fontawesome-free


// import from dir
svgicon imp ./svgicons


// open the browser to show the icons, and edit your favorites
svgicon open


// create webfonts by favorites icons
svgicon font

Links