返回排行榜

nuxt/image

TypeScriptimage.nuxt.com

Plug-and-play image optimization for Nuxt applications.

image-optimizationnuxtnuxt-modulehacktoberfest
Star 增长趋势
Star
1.5k
Forks
326
周增长
Issues
234
5001k1.5k
2020年9月2022年8月2024年8月2026年7月
制品库npmnpm install image
README

nuxt-image-social-card

npm version npm downloads License Nuxt Volta nuxt.care health

Nuxt Image

Plug-and-play image optimization for Nuxt apps. Resize and transform your images using built-in optimizer or your favorite images CDN.

Features

  • <nuxt-img> drop-in replacement for the native <img> element
  • <nuxt-picture> drop-in replacement for the native <picture> element.
  • Built-in image resizer and transformer with unjs/ipx
  • Support 20+ providers
  • Generate responsive sizes
  • Optimize using modern formats such as webp and avif
  • ... and more

Installation

Install @nuxt/image dependency to your project:

npx nuxt module add image

Nuxt 2

Note: This branch is for Nuxt 3 compatible module. Checkout v0 branch for Nuxt 2 support. (Announcement)

Contributing

  • Clone this repository
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run pnpm dev:prepare to generate type stubs.
  • Use pnpm dev to start playground in development mode.

📑 License

Published under the MIT License

相关仓库
ImageOptim/ImageOptim

GUI image optimizer for Mac

HTMLGNU General Public License v2.0guiimage-optimization
imageoptim.com/mac
9.9k472
kornelski/pngquant

Lossy PNG compressor — pngquant command based on libimagequant library

COtherpngquantquality
pngquant.org
5.7k505
mozilla/mozjpeg

Improved JPEG encoder.

COthermozjpeglibjpeg
5.7k435
oxipng/oxipng

Multithreaded PNG optimizer written in Rust

Rustcrates.ioMIT Licenseimage-compressionimage-optimization
4.1k153
civilblur/mazanoke

A self-hosted local image optimizer that runs in your browser.

HTMLGNU General Public License v3.0image-compressionimage-compressor
mazanoke.com
2.6k136
webp-sh/webp_server_go

Go version of WebP Server. A tool that will serve your JPG/PNG/BMP/SVGs as WebP/AVIF format with compression, on-the-fly.

GoGo ModulesGNU General Public License v3.0webp-serverserving-images
docs.webp.sh
2k188
tjko/jpegoptim

jpegoptim - utility to optimize/compress JPEG files

CGNU General Public License v3.0image-optimizationlibjpeg
iki.fi/tjko/projects.html
1.8k126
toy/image_optim

Optimize images using multiple utilities

RubyRubyGemsMIT Licenserubyimage-optimisation
github.com/toy/image_optim
1.6k108
imgbot/Imgbot

An Azure Function solution to crawl through all of your image files in GitHub and losslessly compress them. This will make the file size go down, but leave the dimensions and quality untouched. Once it's done, ImgBot will open a pull request for you to review and merge. help@imgbot.net

C#MIT Licensegithub-integrationazure-functions
imgbot.net
1.3k287
jarun/imgp

:camera_flash: Fast batch image resizer and rotator

PythonPyPIGNU General Public License v3.0image-processingimage-compression
1.1k54