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

imageoptim-cli

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imageoptim-cli - npm Package Compare versions

Comparing version 1.11.6 to 1.14.8

13

CHANGELOG.md
# Change Log
**1.14.8** — Feb. 09, 2016 — [Diff](https://github.com/JamieMason/ImageOptim-CLI/compare/1.11.6...1.14.8)
* **filesystem:** remove additional trailing slash after $TMPDIR, fixes #87.
* **examples:** remove shell syntax highlighting.
+ **logging:** per-file reporting is now opt-in via a --verbose flag.
+ **pngquant:** add --skip-if-larger option.
+ **pngquant:** replace hard-coded value with -m/--min-quality param.
**1.11.6** — Feb. 16, 2015 — [Diff](https://github.com/JamieMason/ImageOptim-CLI/compare/1.11.4...1.11.6)
+ Handle "standard" and "retail" JPEGmini variants, fixes #98.
+ --quit closes JPEGmini but not ImageOptim, fixes #105.
**1.11.4** — Nov. 01, 2014 — [Diff](https://github.com/JamieMason/ImageOptim-CLI/compare/1.11.3...1.11.4)

@@ -4,0 +17,0 @@

66

package.json
{
"name": "imageoptim-cli",
"description": "Automates ImageOptim, ImageAlpha, and JPEGmini for Mac to make batch optimisation of images part of your automated build process.",
"version": "1.14.8",
"author": "Jamie Mason <siunmaru@gmail.com>",
"description": "Automates ImageOptim, ImageAlpha, and JPEGmini for Mac to make batch optimisation of images part of your automated build process.",
"homepage": "https://github.com/JamieMason/ImageOptim-CLI",
"bugs": "https://github.com/JamieMason/ImageOptim-CLI/issues",
"main": "./bin/imageOptim",
"version": "1.11.6",
"repository": {
"type": "git",
"url": "git://github.com/JamieMason/ImageOptim-CLI.git"
},
"bin": {

@@ -19,10 +12,28 @@ "imageOptim": "bin/imageOptim",

},
"licenses": [{
"type": "MIT",
"url": "https://raw.githubusercontent.com/JamieMason/LICENSES/master/LICENSE-MIT"
}],
"bugs": "https://github.com/JamieMason/ImageOptim-CLI/issues",
"contributors": [
"Adam Kiss (https://github.com/adamkiss)",
"Fernando Barrosl (https://github.com/)",
"James Stout (https://github.com/jamesstout)",
"Jamie Mason (https://github.com/JamieMason)",
"Jason Grantl (https://github.com/oo12)",
"Martin Schürrer (https://github.com/MSch)",
"Ramiro Araujol (https://github.com/ramiroaraujo)",
"Simen Brekken (https://github.com/sbrekken)",
"Tom Chenl (https://github.com/tomchentw)"
],
"devDependencies": {
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-watch": "^0.6.1"
},
"homepage": "https://github.com/JamieMason/ImageOptim-CLI",
"keywords": [
"advpng",
"compress",
"compress images",
"gifsicle",
"image compression",
"image optimisation",
"imagealpha",

@@ -35,26 +46,21 @@ "imagemin",

"jpegtran",
"image optimisation",
"optimise images",
"image compression",
"compress images",
"optipng",
"pngcrush",
"pngout",
"pngquant",
"pngout",
"smushit",
"tinypng"
],
"devDependencies": {
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-watch": "^0.6.1"
},
"contributors": [
"Jamie Mason (https://github.com/JamieMason)",
"James Stout (https://github.com/jamesstout)",
"Simen Brekken (https://github.com/sbrekken)",
"Martin Schürrer (https://github.com/MSch)",
"Adam Kiss (https://github.com/adamkiss)"
]
"licenses": [
{
"type": "MIT",
"url": "https://raw.githubusercontent.com/JamieMason/LICENSES/master/LICENSE-MIT"
}
],
"main": "./bin/imageOptim",
"repository": {
"type": "git",
"url": "git://github.com/JamieMason/ImageOptim-CLI.git"
}
}
# ImageOptim-CLI
[![Join the chat at https://gitter.im/JamieMason/ImageOptim-CLI](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/JamieMason/ImageOptim-CLI?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![npm downloads](https://img.shields.io/npm/dm/ImageOptim-CLI.svg?style=flat-square)](https://www.npmjs.com/package/ImageOptim-CLI)
[![Twitter](https://img.shields.io/twitter/url/https/github.com/JamieMason/ImageOptim-CLI.svg?style=social)](https://twitter.com/intent/tweet?text=Additional%20matchers%20for%20the%20Jasmine%20BDD%20JavaScript%20testing%20library%20%23JavaScript%20%23NodeJS%20&url=https%3A%2F%2Fgithub.com%2FJamieMason%2FImageOptim-CLI)
[![Follow @fold_left on Twitter](https://img.shields.io/twitter/follow/fold_left.svg?style=social)](https://twitter.com/fold_left)
[![GitHub stars](https://img.shields.io/github/stars/JamieMason/ImageOptim-CLI.svg?style=social&label=Star)](https://github.com/JamieMason/ImageOptim-CLI)
[![GitHub followers](https://img.shields.io/github/followers/JamieMason.svg?style=social&label=Follow)](https://github.com/JamieMason)
> Automates [ImageOptim](http://imageoptim.com), [ImageAlpha](http://pngmini.com), and

@@ -61,3 +68,3 @@ > [JPEGmini for Mac](http://jpegmini.com/mac) to make batch optimisation of images part of your

```shell
curl --output imageoptim-cli.zip https://codeload.github.com/JamieMason/ImageOptim-CLI/zip/1.11.6
curl --output imageoptim-cli.zip https://codeload.github.com/JamieMason/ImageOptim-CLI/zip/1.14.8
unzip imageoptim-cli.zip

@@ -93,10 +100,13 @@ export PATH=$PATH:imageoptim-cli/bin

-d, --directory directory of images to process
-a, --image-alpha pre-process PNGs with ImageAlpha.app *
-j, --jpeg-mini pre-process JPGs with JPEGmini.app **
-q, --quit quit all apps when complete
-c, --no-color disable color output
-h, --help display this usage information
-e, --examples display some example commands and uses
-v, --version display the version number
-d, --directory directory of images to process
-a, --image-alpha pre-process PNGs with ImageAlpha.app *
-j, --jpeg-mini pre-process JPGs with JPEGmini.app **
-m, --min-quality pngquant min quality parameter
-s, --skip-if-larger pngquant use --skip-if-larger
-q, --quit quit all apps when complete
-c, --no-color disable color output
-h, --help display this usage information
-e, --examples display some example commands and uses
-v, --version display the version number
--verbose display detailed, per-file info on optimizations

@@ -116,5 +126,3 @@ * http://pngmini.com

```shell
imageoptim --directory ~/Sites/Awesome # [options]
```
imageoptim --directory ~/Sites/Awesome # [options]

@@ -125,5 +133,3 @@ ### Optimise a filtered set of images

```shell
find ~/Sites/Awesome -name '*.jpg' | imageoptim # [options]
```
find ~/Sites/Awesome -name '*.jpg' | imageoptim # [options]

@@ -134,11 +140,7 @@ ### Passing additional options

```shell
imageoptim --jpeg-mini --image-alpha --quit --no-color --directory path/to/images
```
imageoptim --jpeg-mini --image-alpha --quit --no-color --directory path/to/images
The equivalent of the above in short format is as follows;
```shell
imageoptim -j -a -q -d -c path/to/images
```
imageoptim -j -a -q -d -c path/to/images

@@ -151,6 +153,4 @@ ### Adding to git pre-commit hook

```shell
images=$(git diff --exit-code --cached --name-only --diff-filter=ACM -- '*.png' '*.jpg')
$(exit $?) || echo $images | imageoptim && git add $images
```
images=$(git diff --exit-code --cached --name-only --diff-filter=ACM -- '*.png' '*.jpg')
$(exit $?) || (echo "$images" | imageoptim && git add $images)

@@ -157,0 +157,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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