New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

browser-image-resizer

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-image-resizer - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "browser-image-resizer",
"version": "1.1.0",
"version": "1.1.1",
"description": "A browser-based utility to downscale and resize images using <canvas>",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -7,2 +7,6 @@ # browser-image-resizer

## Demo
[https://browser-image-resizer-test.firebaseapp.com/](https://browser-image-resizer-test.firebaseapp.com/)
## Installation

@@ -19,5 +23,7 @@

const config = {
quality: 0.7,
width: 800,
height: 600
quality: 0.5,
maxWidth: 800,
maxHeight: 600,
autoRotate: true,
debug: true
};

@@ -93,2 +99,4 @@

| `maxHeight` | The maximum height for the downscaled image | 600 |
| `autoRotate` | Reads EXIF data on the image to determine orientation | true |
| `debug` | console.log image update operations | true |

@@ -95,0 +103,0 @@ ### Outputs

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc