imagemin-power-cli
Optimize (compress) images with power using imagemin
Last updated 3 years ago by itgalaxy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install imagemin-power-cli 
SYNC missed versions from official npm registry.

imagemin-power-cli

NPM version Travis Build Status Coverage Status dependencies Status devDependencies Status Greenkeeper badge

Optimize (compress) images with power using imagemin :muscle:

Install

npm install --global imagemin-power-cli

Also you can install package locally:

npm install --save imagemin-power-cli

Usage

    Usage
        $ imagemin-power [input] [options]
        $ imagemin-power <file> > <output>
        $ cat <file> | imagemin-power > <output>
        
    Input: Files(s), glob(s), or nothing to use stdin.
      
        If an input argument is wrapped in quotation marks, it will be passed to
        node-glob for cross-platform glob support. \`node_modules\` and
        \`bower_components\` are always ignored. You can also pass no input and use
        stdin, instead.

    Options:

        -c, --config           Configuration for plugins, need export \`plugins\`.
        -d, --cwd              Current working directory.
        -m, --max-concurrency  Sets the maximum number of instances of Imagemin that can run at once.
        -p, --plugin           Override the default plugins.
        -o, --out-dir          Output directory (respect \`cwd\` argument).
        -r, --recursive        Run the command recursively.
        -i, --ignore-errors    Not stop on errors (it works with only with <path|glob>).
        -s  --silent           Reported only errors.
        -v, --verbose          Reported everything.

    Examples
        $ imagemin-power images/* --out-dir=build
        $ imagemin-power foo.png > foo-optimized.png
        $ cat foo.png | imagemin-power > foo-optimized.png
        $ imagemin-power --plugins=pngquant foo.png > foo-optimized.png

Related

Contribution

Feel free to push your code if you agree with publishing under the MIT license.

Changelog

License

Current Tags

  • 3.0.0                                ...           latest (3 years ago)

13 Versions

  • 3.0.0                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.4.1                                ...           3 years ago
  • 0.4.0                                ...           3 years ago
  • 0.4.0-alpha.1                                ...           3 years ago
  • 0.3.2                                ...           4 years ago
  • 0.3.1                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 13
Dependencies (17)
Dev Dependencies (31)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |