
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
sts-svg-sprite-generator
Advanced tools
Unlike similar Gulp or Grunt tools, our SVG sprite generator is created for designers who are not fond of coding. This tool simply takes a list of SVG files and make a single sprite file using <symbol>
elements.
SVG sprite generator is a helpful for creating icon systems.
This program needs Node.js to run. If Node already existed in your system, use npm
to install the generator:
npm install -g svg-sprite-generator
Generate sprite from a directory of SVG files
svg-sprite-generate -d path/to/directory/of/svg/files -o path/to/sprite.svg
Or specify SVG files to generate from. File paths can be separated with a comma.
svg-sprite-generate -l path/to/file1.svg,path/to/file2.svg -o path/to/sprite.svg
Or use a CSV file. The first column contains symbol IDs, the second contains SVG file paths.
duo-alarm-clock, test/svg/duo-alarm-clock.svg
duo-bicycle, test/svg/duo-bicycle.svg
The command
svg-sprite-generate -c path/to/csv.csv -o path/to/sprite.svg
You can take another sprite file and generate a new one with some modification too.
svg-sprite-generate -s path/to/sprite.svg -l path/to/extra.svg,path/to/another-extra-one.svg -o new-sprite.svg
SVG Sprite Generator is created by the folks at SmartIcons
MIT
FAQs
A SVG sprite file generator
The npm package sts-svg-sprite-generator receives a total of 8 weekly downloads. As such, sts-svg-sprite-generator popularity was classified as not popular.
We found that sts-svg-sprite-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.