Skip to content
Back to Libraries

Sharp

29k

High performance image processing

🔥 TrendingImage Processing
License
Apache-2.0
Released
2013
Stars
29k

Use Cases

Image resizing, format conversion, thumbnail generation, image optimization

Code Example

import sharp from 'sharp';
await sharp('input.jpg')
  .resize(300, 200)
  .toFormat('webp')
  .toFile('output.webp');

Related Libraries