SVG sprite generator CLI tool
npm install svg-spritifysvg-spritify@1.2.2.
2.0.0 are designed to be highly customizable via CSS, rather than relying on extensive configuration.
sh
npm install -g svg-spritify
`
Usage
`sh
npx sprite
`
`html
`
Options
$3
By default, this package searches for SVG files in all subdirectories. Use the --no-recursive option to limit the search to the specified directory only.
`sh
npx sprite --no-recursive
`
$3
Specifies the directory where the SVG files are located. Defaults to process.cwd().
`sh
npx sprite -i /path/to/svgs
``