Skip to content

TrigenSoftware/srcset

Repository files navigation

srcset

Build status Coverage status

Highly customizable tools for generating responsive images: build-time generation, image proxy adapters and framework components - without vendor and server lock-in.

  • 🌠 Resize images for different screen sizes and densities
  • 📸 Convert images to modern formats such as WebP and Avif
  • ⚡️ Powered by sharp
  • 🧩 Webpack, Rspack and Vite integrations
  • 🖼 Сomponents for React, Preact and Svelte: blur-up placeholders, priority loading, tree-shakable image modules
  • 🌐 Image proxy backends - imgproxy and Cloudflare - build variant urls on top of emitted originals and CMS content images

For more details, guides and API references, check out the documentation website.

Packages

Package Description Version
@srcset/core Image processing: resize, convert and optimize images with sharp. NPM version
@srcset/cli Command line tool to generate responsive images. NPM version
@srcset/runtime Browser runtime helpers: srcset strings and attributes of image variants. NPM version
@srcset/loader Webpack and Rspack loader for generating responsive images. NPM version
@srcset/vite-plugin Vite plugin for generating responsive images. NPM version
@srcset/imgproxy Adapter for imgproxy: srcset variant urls for content images and static assets. NPM version
@srcset/cloudflare Adapter for Cloudflare image transformations: srcset variant urls for content images and static assets. NPM version
@srcset/react React components for responsive images: Picture and Image. NPM version
@srcset/preact Preact components for responsive images: Picture and Image. NPM version
@srcset/svelte Svelte components for responsive images: Picture and Image. NPM version

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors