{"repo":"pmb0/express-sharp","free":true,"listed":false,"github":"https://github.com/pmb0/express-sharp","clone":"git clone https://github.com/pmb0/express-sharp.git","description":"🏞 Real-time image processing for your express application.","language":"TypeScript","stars":151,"topics":["express-sharp","express","sharp","libvips","image-proxy","image-resizer"],"license":"MIT","category":"media-processing","readme_excerpt":"Real-time image processing for your express application. [![Test Coverage][coveralls-image]][coveralls-url] [![Build Status][build-image]][build-url] Description express-sharp adds real-time image processing routes to your express application. Images are processed with sharp, a fast Node.js module for resizing images. Original images are loaded via an image adapter. Currently this includes HTTP and file system adapters. Highlights - Fast resizing of images (see sharp Performance) - Supports multiple backends, from which the original images are downloaded - Supports multiple caching backends - Image URLs can be signed to prevent attacks Table of contents - Install - Express server integration - Server configuration - Image Adapters - File System - HTTP - Amazon S3 - Custom - Caching - URL signing - Debug logging - Client integration - License Install See sharp installation for additional installation instructions. Express server integration Example app.js (See also example/app.ts in this project): Render /images/image.jpg with 400x400 pixels: Same as above, but with 80% quality, webp image type and with progressive enabled: Server configuration Supported options : Name Description Default ------ ------------- --------- autoUseWebp Specifies whether images should automatically be rendered in webp format when supported by the browser. true cache If specified, the keyv cache) configured here is used to cache the retrieval of the original images and the transformations. - cors Any","default_branch":null,"files":null,"tree":[],"storefront":"/r/pmb0","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pmb0/express-sharp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}