favico-cli
v1.0.2
Published
cli tool for favicon generation and image compression
Downloads
3
Maintainers
Readme
Favico is a cli tool to generate favicon
image and other icons such as apple-touch-icon
and android-chrome
of various sizes.
Generated icons are stored in Desktop/favico
directory.
Installation
npm i -g favico-cli
commands
| Command | Description |
| ---------------------------------------------- | ----------------------------------------------------------- |
| favico-cli --version
| check current version |
| favico-cli g /path/to/image
| generate a favicon |
| favico-cli generate /path/to/image
| generate a favicon |
| favico-cli compress /path/to/image
| compress an image |
| favico-cli c /path/to/image
| compress an image |
| favico-cli compress /path/to/image
--replace | compress and replace the original with the compressed image |
Examples
Generating an icon
favico-cli generate ./logo.png
or
favico-cli g ./logo.png
Compressing an Image
favico-cli compress ./testImage.jpg
or
favico-cli c ./testImage.jpg
compressing and replacing an image
favico-cli compress ./testFolder/testImage.jpg --replace
or
favico-cli c ./testFolder/testImage.jpg --replace