npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@takazudo/zudo-image-tweaker

v0.1.1

Published

sharp-based image-tweaking toolkit: variants, HEIF conversion, OGP cards, byte-budget encoding, square crops, product-photo background removal, calibration, compositing, blurhash, EXIF, and browser upload prep.

Downloads

370

Readme

@takazudo/zudo-image-tweaker

A sharp-based image-tweaking toolkit, exposed as focused subpath modules so consumers only pull in the code paths (and native/optional dependencies) they actually use.

Install

pnpm add @takazudo/zudo-image-tweaker
# npm install @takazudo/zudo-image-tweaker
# yarn add @takazudo/zudo-image-tweaker

Modules

| Subpath | Description | Docs | |---|---|---| | @takazudo/zudo-image-tweaker/variants | Multi-width WebP variant engine (content-hash cache, repair, tag dispatch). | variants | | @takazudo/zudo-image-tweaker/heif | HEIC/HEIF → JPEG conversion with ICC profile preservation. | heif | | @takazudo/zudo-image-tweaker/ogp | Social-card (Open Graph / Twitter card) image compositor. | ogp | | @takazudo/zudo-image-tweaker/budget | Byte-budget encode ladder. | budget | | @takazudo/zudo-image-tweaker/square | Five-mode square-crop toolbox. | square | | @takazudo/zudo-image-tweaker/product-photo | ML background removal + procedural shadows for product photography. | product-photo | | @takazudo/zudo-image-tweaker/calibrate | Background color normalization. | calibrate | | @takazudo/zudo-image-tweaker/composite | Overlay batch compositing. | composite | | @takazudo/zudo-image-tweaker/blurhash | BlurHash placeholder generation. | blurhash | | @takazudo/zudo-image-tweaker/exif | EXIF metadata extraction. | exif | | @takazudo/zudo-image-tweaker/browser | Client-side upload preparation pipeline. | browser |

Each link above goes to that module's reference page on the docs site.

Optional peer dependencies

@imgly/background-removal-node, exifr, and heic2any are optional peer dependencies, dynamically imported only by the modules that need them (product-photo uses @imgly/background-removal-node; browser uses both exifr and heic2any). Install them only if you use those modules. /exif has no optional peer dependency — it parses the raw EXIF buffer directly. /heif's HEIC decoder (heic-decode) is a regular dependency and is always installed.

Security notes

/heif

convertHeifToJpeg's Node/WASM fallback (heic-decode → bundled libheif-js 1.19.8) predates the libheif 1.22.0 heap-overflow and infinite-loop-DoS fixes. Only decode HEIC/HEIF files from sources you trust. The maxInputBytes option (default 256 MiB) rejects oversized inputs before they reach the decoder, but that's defense-in-depth, not a substitute for trusting the source.

License

MIT — see LICENSE.