@yzfe/svgicon-viewer

1.3.3 • Public • Published

@yzfe/svgicon-viewer

Preview SVG icon

Usage

# Install global
npm install -g @yzfe/svgicon-viewer

# Install in project
npm install  @yzfe/svgicon-viewer --dev

# preview svg icon
svgicon-viewer ./svg/folder

SVG icon display name

You can configure the SVG icon display name by specifying a json config file.

你可以通过指定配置自定义预览的 SVG 图标名称

svgicon-viewe ./svg/folder ./meta.json

meta.json example

{
    "iconName": {
        "name": "icon display name"
    }
}

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @yzfe/svgicon-viewer

Weekly Downloads

572

Version

1.3.3

License

MIT

Unpacked Size

382 kB

Total Files

8

Last publish

Collaborators

  • allenice
  • allenmo
  • vfasky