@geekcojp/min

0.0.4 • Public • Published

min

npm code style: prettier CircleCI license: mit

Usage

min [command]

Commands:
  min img  Minify *.jpg, *.png, *.gif and *.svg
  min jpg  Minify *.jpg
  min png  Minify *.png
  min gif  Minify *.gif
  min svg  Minify *.svg

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Example

$ min img
 ✔ Minify

 Filename      Size «B»   Size «A»  
 ------------  ---------  ----------
 nest/npm.jpg  34.93 KB   9.99 KB   
 npm.jpg       34.93 KB   9.99 KB   
 npm.png       3.34 KB    1.46 KB   
 cat.gif       989.78 KB  989.41 KB
 npm.svg       3.46 KB    2.98 KB   
 ------------  ---------  ----------
               1.04 MB    1013.84 KB

TODO

  • [x] minify jpg
  • [x] minify png
  • [x] minify gif
  • [x] minify svg
  • [ ] minify html
  • [ ] minify css
  • [ ] minify js
  • [ ] minify php

Readme

Keywords

none

Package Sidebar

Install

npm i @geekcojp/min

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • wwk563388548
  • randy39
  • skawadu
  • geek_hfukasaka
  • nju33
  • yamanoku