
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
Command line utilities for bundling and exploding Mapbox spritesheets to/from PNG files.
This tool lets you create a Mapbox GL spritesheet from a number of PNGs. You can also disassemble a Mapbox spritesheet into its component pngs. It supports both @1x and @2x icons.
Unlike sprite-zero, which works on SVGs, this only works on PNGs.
mbsprite explodeTo explode all the icons from a Mapbox sprite sheet into icons and icons@2x:
node mbsprite explode https://api.mapbox.com/styles/v1/mapbox/light-v9/sprite?access_token=pk.eyYOURACCESSTOKEN icons
mbsprite bundleTo bundle all the icons back into a sprite sheet in sprite/sprite.json, sprite/sprite.png, sprite/sprite@2x.json and sprite/sprite@2x.png:
node mbsprite bundle sprite icons icons@2x
To merge two spritesheets together, simply explode two sprite sheets into the same directory, then bundle.
If you have npx installed, you can simply run:
npx mbsprite <args...>
To generate a spritesheet from icons in Figma, see the instructions in Figmasset-export.
FAQs
Command line utilities for bundling and exploding Mapbox spritesheets to/from PNG files.
The npm package mbsprite receives a total of 17 weekly downloads. As such, mbsprite popularity was classified as not popular.
We found that mbsprite 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.