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

compress.js

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compress.js - npm Package Compare versions

Comparing version 1.0.9 to 1.1.0

2

package.json
{
"name": "compress.js",
"version": "1.0.9",
"version": "1.1.0",
"description": "A client side JavaScript image compression library",

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

@@ -28,4 +28,8 @@ <!-- [![Build Status](https://travis-ci.org/alextanhongpin/compress.js.svg?branch=master)](https://travis-ci.org/alextanhongpin/compress.js) -->

### Usage:
### Demo
Try out our demo [here](https://compressjs.herokuapp.com/).
### Usage
```javascript

@@ -42,3 +46,3 @@

size: 4, // the max size in MB, defaults to 2MB
quality: .75 // the quality of the image, max is 1,
quality: .75, // the quality of the image, max is 1,
maxWidth: 1920, // the max width of the output image, defaults to 1920px

@@ -45,0 +49,0 @@ maxHeight: 1920, // the max height of the output image, defaults to 1920px

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