Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

magic-images-minify

1.1.0 • Public • Published

Magic Images Minify CLI 🌈

Screencapture magicImagesMinifyCLI

What is this?

This is a light magical tool/script, just by injecting the script file in any folder it will automagically search for images and minify it in a build folder with the same hierarchy.

Why I made this?

For the glory of satan of course. 😈

How it works?

It's made with the holy node.js ❤️, uses imagemin, glob and fs for finding/managing/minifying images files.

How can I use it?

I thought you'd never ask.

Npm Global

npm install -g magic-images-minify

Yarn

yarn add global magic-images-minify

Then just by running mic in command line.

Manually

  • First by cloning the repesitory and copying the files in the same directory it contains images.
git clone https://github.com/TareqElMasri/magicImagesMinifyCLI
cp magicImagesMinifyCLI/minify.js magicImagesMinifyCLI/package.json /path/to/directory
  • Second by installing the dependencies using npm or yarn
npm install
yarn # OR
  • Finally by running the script
npm start

Have a good and progressive day!

Keywords

none

install

npm i magic-images-minify

Downloadsweekly downloads

7

version

1.1.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar