
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@vkontakte/sprites
Advanced tools
  
Module for generate SVG sprites and PNG fallback that used in m.vk.com
Inkscape (>= 0.48.5)
Node.JS (>= 8)
npm install @vkontakte/sprites
or yarn add @vkontakte/sprites
See demo/index.js
To generate Sprites you just need to run
generate(path, output = {}, converter, options)
path
is place on your filesystem where module loads SVG iconsconverter
see PNG Fallback sectionIn this time there is single PNG converter Inkscape
, but you can PR your if you need. It is simple, you just need to extend BaseConverter
To create PNG converter you need to import it
const InkscapeConverter = require("@vkontakte/sprites/src/convert/InkscapeConverter")
Then create new instance of Converter
const converter = new InkscapeConverter([1, 2], pngPath, "/opt/local/bin/inkscape"),
And use as param for generating sprites
FAQs
  
The npm package @vkontakte/sprites receives a total of 0 weekly downloads. As such, @vkontakte/sprites popularity was classified as not popular.
We found that @vkontakte/sprites demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.