imgcompile
v0.1.0
Published
Optimize and compress JPG, JPEG, PNG, GIF or SVG.
Downloads
7
Maintainers
Readme
IMGCompile
Optimize and compress JPG, JPEG, PNG, GIF or SVG.
Why it's awesome
No spend several hours setting configuration files. IMGCompile will compile, optimize and compress JPG, JPEG, PNG, GIF or SVG. Set folder name where the source code is located and we'll take care of the rest for you. Just it!
NOTE: For now only works with JPG, JPEG, PNG, GIF and SVG.
Getting Started
Install with npm
$ npm install imgcompile
Install with Yarn
$ yarn add imgcompile
Run with npx (without installing)
$ npx install imgcompile
Usage
$ imgcompile src dist
NOTE: Only the folder name is required.
CLI
$ imgcompile --help
Usage:
$ imgcompile <input> [<output>] [<options>]
Options:
-h, --help Display help information
-v, --version Output version
Examples:
$ imgcompile src
$ imgcompile src dist
Contributing
Want to contribute? Follow these recommendations.
License
Designed with ♥ by CJ Patoilo. Licensed under the MIT License.