aykutkardas / svgps-cli

This project is the CLI version of the svgps package.

Home Page:https://svgps.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

svgps-cli

npm License

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-cli

Syntax

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.json

Parse Single File

Use --file option

svgps your/path/arrow-down.svg your/output/path/arrow-down.json --file

IcoMoon Template

Use --template option with icomoon

svgps your/path/icons your/output/path/icons.json --template icomoon

About

This project is the CLI version of the svgps package.

https://svgps.app

License:MIT License


Languages

Language:TypeScript 64.2%Language:JavaScript 35.8%