
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
libwebp-static
Advanced tools
Static libwebp binaries for macOS, Linux, and Windows.
A Node.js package that provides precompiled static binaries for all tools from Google's libwebp library, enabling WebP image conversion and manipulation without requiring manual installation or compilation.
This package includes the following libwebp command-line tools:
| Tool | Description |
|---|---|
cwebp | Compress images to WebP format |
dwebp | Decompress WebP images to PNG/PPM/PAM/PGM/BMP |
gif2webp | Convert GIF animations to animated WebP |
img2webp | Create animated WebP from image sequence |
webpmux | Mux/demux tool for WebP images |
webpinfo | Display info about WebP images |
anim_diff | Compare animated WebP images |
anim_dump | Dump frames from animated WebP |
get_disto | Compute distortion metrics |
vwebp | Simple WebP viewer (GUI) |
webp_quality | Print quality estimates |
| Platform | Architecture | Status |
|---|---|---|
| macOS | x64 (Intel) | ✅ |
| macOS | ARM64 (Apple Silicon) | ✅ |
| Linux | x64 | ✅ |
| Linux | ARM64 | ✅ |
| Windows | x64 | ✅ |
The binaries download script downloads binaries from these locations:
The script extracts build information and (when possible) the license file from the downloaded package or the distribution server. Please consult the official WebP project for exact source versions.
Install via npm:
npm install libwebp-static
tar and gzip utilities (usually pre-installed)All tools are available as properties of the exported object:
webpTools.cwebp - WebP encoderwebpTools.dwebp - WebP decoderwebpTools.gif2webp - GIF to WebP converterwebpTools.img2webp - Image sequence to WebP converterwebpTools.webpmux - WebP multiplexerwebpTools.webpinfo - WebP information toolwebpTools.anim_diff - Animation comparison toolwebpTools.anim_dump - Animation frame extractorwebpTools.get_disto - Distortion calculation toolwebpTools.vwebp - WebP viewer (GUI)webpTools.webp_quality - Quality estimation toolThis project is licensed under the GPL-3.0-or-later License - see the LICENSE file for details.
The libwebp library is licensed under a separate license. For more information, please refer to the libwebp license.
FAQs
libwebp binaries for macOS, Linux and Windows
We found that libwebp-static demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

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.