@matpool/svg-sprite
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

svg-sprite

combine svg files to svg sprite

oclif Version Downloads/week

中文文档

Usage

$ npm install -g @matpool/svg-sprite
$ ss COMMAND
running command...
$ ss (-v|--version|version)
@matpool/svg-sprite/1.1.1 darwin-x64 node-v14.19.0
$ ss --help [COMMAND]
USAGE
  $ ss COMMAND
...

Commands

ss gen

auto generate icon script and example html

USAGE
  $ ss gen

OPTIONS
  -h, --help  show CLI help

See code: src/commands/gen.ts

ss help [COMMAND]

display help for ss

USAGE
  $ ss help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

ss init

init icons config and directory

USAGE
  $ ss init

OPTIONS
  -h, --help  show CLI help

See code: src/commands/init.ts

ss serve

start a server to manage icons

USAGE
  $ ss serve

OPTIONS
  -h, --help       show CLI help
  -p, --port=port  [default: 10086]

See code: src/commands/serve.ts

Readme

Keywords

Package Sidebar

Install

npm i @matpool/svg-sprite

Weekly Downloads

18

Version

1.1.1

License

MIT

Unpacked Size

2.38 MB

Total Files

38

Last publish

Collaborators

  • tangge1119
  • sam.chai