UNPKG

sharp-electron

Version:

High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images

28 lines (20 loc) 718 B
# sharp electron <img src="https://cdn.jsdelivr.net/gh/lovell/sharp@main/docs/image/sharp-logo.svg" width="160" height="160" alt="sharp logo" align="right"> ## Documentation Visit [sharp.pixelplumbing.com](https://sharp.pixelplumbing.com/) for complete [installation instructions](https://sharp.pixelplumbing.com/install), [API documentation](https://sharp.pixelplumbing.com/api-constructor), [benchmark tests](https://sharp.pixelplumbing.com/performance) and [changelog](https://sharp.pixelplumbing.com/changelog). ## Examples ```forge packagerConfig: { asar: true, extraResource: [ `node_modules/@img`, ] }, ``` ```javascript const sharp = require('sharp-electron'); ```