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
npm install -g svgps-cli
svgps <input-path> <output-path> [...options]
It parses all icons and combines them into a single JSON file.
svgps your/path/icons your/output/path/icons.json
Use --file
option
svgps your/path/arrow-down.svg your/output/path/arrow-down.json --file
Use --template
option with icomoon
svgps your/path/icons your/output/path/icons.json --template icomoon