0.3.1 • Published 3 years ago
svgps-cli v0.3.1
svgps-cli
SVGPS converts your icons into a single JSON file that is ready to use in your frontend or mobile projects. This project is the CLI version of the svgps package.
You can also use it online: svgps.app
Install
npm install -g svgps-cliSyntax
svgps <input-path> <output-path> [...options]Usage
Combine All Icons
It parses all icons and combines them into a single JSON file.
svgps your/path/icons your/output/path/icons.jsonParse Single File
Use --file option
svgps your/path/arrow-down.svg your/output/path/arrow-down.json --fileIcoMoon Template
Use --template option with icomoon
svgps your/path/icons your/output/path/icons.json --template icomoon