Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 919 Bytes

README.md

File metadata and controls

43 lines (32 loc) · 919 Bytes

imageShrink npm version

reduce image size of your project by 60% seamlessly

Install

npm install super-image-shrink

Usage

in your package.json, add a line in scripts you can change 'src' to your target directory

{
  ...
 "scripts": {
    "shrink": "node node_modules/super-image-shrink src"
  },
  ...
}

in your project directory

npm run shrink

Result

before

before

after

after

before

rick 258kb

after

rick_shrink 42kb

at least i can't see any difference with my eyes