Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
ZSVGR - Zee™ SVG Resizer Powered by SVGO
Zee™SVGR is an efficient npm package for resizing and optimizing SVG files using the powerful SVGO (SVG Optimizer). It offers a straightforward solution to adjust SVG dimensions while maintaining high quality and optimizing file size.
To install zsvgr, use npm:
npm install zsvgr
zsvgr The primary entry point for the package. It is located in lib/zsvgr.js and can be used as an import too.
import zsvgr from 'zsvgr'
const result = zsvgr('svgString', options)
// Options include SVGO's configuration settings with an additional 'customSize' parameter for the scale factor (defaults to 16).
You can customize the resizing behavior by passing options directly through the command line or programmatically in your code.
svgo - A powerful SVG optimizer used for optimizing SVG files.
MasterZeeno zeenoliev@gmail.com
MIT License. See the LICENSE file for details.
FAQs
Zee™ SVG Resizer Powered by SVGO.
The npm package zsvgr receives a total of 3 weekly downloads. As such, zsvgr popularity was classified as not popular.
We found that zsvgr demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.