Gathering detailed insights and metrics for electron-sharp
Gathering detailed insights and metrics for electron-sharp
Gathering detailed insights and metrics for electron-sharp
Gathering detailed insights and metrics for electron-sharp
@electron-fonts/material-icons-sharp
Material Icons Sharp font injector to electron aplications.
@electron-fonts/material-symbols-sharp
Material Symbols Sharp font injector to electron aplications.
sharp-electron
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images
@hackolade/sharp-darwin-x64
Re-published version to have all prebuilds defined as npm packages without platform constraints for cross building an Electron application - Prebuilt sharp for use with macOS x64
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
npm install electron-sharp
Typescript
Module System
Min. Node Version
Node Version
NPM Version
67.3
Supply Chain
96.3
Quality
70.4
Maintenance
50
Vulnerability
80.6
License
JavaScript (76.35%)
C++ (20.2%)
TypeScript (2.02%)
Python (1.16%)
Shell (0.11%)
C (0.08%)
Dockerfile (0.08%)
Total Downloads
1,832
Last Day
2
Last Week
8
Last Month
15
Last Year
120
Apache-2.0 License
30,363 Stars
2,215 Commits
1,330 Forks
230 Watchers
3 Branches
215 Contributors
Updated on May 09, 2025
Minified
Minified + Gzipped
Latest Version
0.20.8
Package Id
electron-sharp@0.20.8
Unpacked Size
1.36 MB
Size
511.62 kB
File Count
52
NPM Version
5.6.0
Node Version
8.11.1
Cumulative downloads
Total Downloads
Last Day
0%
2
Compared to previous day
Last Week
100%
8
Compared to previous week
Last Month
-21.1%
15
Compared to previous month
Last Year
-11.1%
120
Compared to previous year
1npm install sharp
1yarn add sharp
The typical use case for this high speed Node.js module is to convert large images in common formats to smaller, web-friendly JPEG, PNG and WebP images of varying dimensions.
Resizing an image is typically 4x-5x faster than using the quickest ImageMagick and GraphicsMagick settings.
Colour spaces, embedded ICC profiles and alpha transparency channels are all handled correctly. Lanczos resampling ensures quality is not sacrificed for speed.
As well as image resizing, operations such as rotation, extraction, compositing and gamma correction are available.
Most modern 64-bit OS X, Windows and Linux (glibc) systems running Node versions 4, 6, 8 and 10 do not require any additional install or runtime dependencies.
1const sharp = require('sharp') 2 3const options = { 4 ...otherSharpOptions, 5 iccProfilePath: 'path/to/unpacked/icc/libs/on/electron/production/app', 6};
1sharp(inputBuffer, options) 2 .resize(320, 240) 3 .toFile('output.webp', (err, info) => ... ); 4 // A Promises/A+ promise is returned when callback is not provided.
1sharp('input.jpg', options) 2 .rotate() 3 .resize(200) 4 .toBuffer() 5 .then( data => ... ) 6 .catch( err => ... );
1const roundedCorners = Buffer.from( 2 '<svg><rect x="0" y="0" width="200" height="200" rx="50" ry="50"/></svg>' 3); 4 5const roundedCornerResizer = 6 sharp() 7 .resize(200, 200) 8 .overlayWith(roundedCorners, { cutout: true }) 9 .png(); 10 11readableStream 12 .pipe(roundedCornerResizer) 13 .pipe(writableStream);
Visit sharp.pixelplumbing.com for complete installation instructions, API documentation, benchmark tests and changelog.
A guide for contributors covers reporting bugs, requesting features and submitting code changes.
Copyright 2013, 2014, 2015, 2016, 2017, 2018 Lovell Fuller and contributors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
No vulnerabilities found.
Reason
security policy file detected
Details
Reason
30 commit(s) and 26 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
project is fuzzed
Details
Reason
Found 5/30 approved changesets -- score normalized to 1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
Project has not signed or included provenance with any releases.
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More