0.0.2 • Published 2 years ago
@mynaui/favicons v0.0.2
MynaUI Favicons
Simple & Quick Favicons Generator.
Give a input SVG File. It gives six favicon files that covers most needs.
Usage
Run the script using npx and provide your SVG file as input:
npx @mynaui/favicons [path-to-your-svg-file]or using bun:
bunx @mynaui/favicons [path-to-your-svg-file]Options
--inputor-i: Specify the input SVG file.--qualityor-q: Set the quality of the PNG images (default is 85).--nameor-n: Set the name for the manifest file (default is 'TODO').
Example:
npx @mynaui/favicons --input your_icon.svg --quality 90 --name "Your App Name"Output
The script will generate the following files in the same directory as the input SVG:
favicon.icofavicon-optimized.svgapple-touch-icon.pngicon-192.pngicon-512.pngmanifest.webmanifest
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
License
This project is licensed under MIT.