@yzfe/svgicon-viewer

    1.1.0 • 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"
        }
    }

    Install

    npm i @yzfe/svgicon-viewer

    DownloadsWeekly Downloads

    75

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    1.18 MB

    Total Files

    15

    Last publish

    Collaborators

    • allenice
    • minfive
    • allenmo
    • alanhuang
    • vfasky
    • lauginwing
    • jiaxin
    • perlou
    • masonz