Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/icons-generator
Icons generator.
https://github.com/afeiship/icons-generator
chrome-extension favico generator icons
Last synced: about 1 month ago
JSON representation
Icons generator.
- Host: GitHub
- URL: https://github.com/afeiship/icons-generator
- Owner: afeiship
- License: mit
- Created: 2020-01-16T14:24:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-22T07:18:09.000Z (almost 5 years ago)
- Last Synced: 2024-10-26T22:53:27.387Z (3 months ago)
- Topics: chrome-extension, favico, generator, icons
- Language: JavaScript
- Size: 228 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# icons-generator
> Icons generator.## options
### chrome-extension
| name | alias | default | default |
| -------- | ----- | ---------------- | ---------------------- |
| filename | -f | - | The target filename. |
| output | -o | ./dist | The target output dir. |
| prefix | -p | icon- | The icon prefix. |
| sizes | -s | 16,32,64,128,256 | The icon sizes. |```conf
Options:
--version Show version number [boolean]
--help Show help [boolean]
--filename, -f The icon filename. [required]
--size, -s The sizes of icons.
--prefix, -p The icon prefix name.
--output, -o The icon output dir.Missing required argument: filename
```### favicon
| name | alias | default | default |
| -------- | ----- | ------- | ---------------------- |
| filename | -f | - | The target filename. |
| output | -o | ./dist | The target output dir. |
| sizes | -s | 16,32 | The icon sizes. |```conf
Options:
--version Show version number [boolean]
--help Show help [boolean]
--filename, -f The input filename. [required]
--size, -s The sizes of icons.
--output, -o The icon output dir.Missing required argument: filename
```## usage
```shell
# debug
git clone [email protected]:afeiship/icons-generator.git
npm link# production
npm install -g `your-package`icons-generator chrome-extension -f=__tests__/icon.png
icons-generator favicon -f=__tests__/afei.jpg
```## resources
- https://github.com/eridem/cli-tutorial
- https://github.com/lovell/sharp
- https://github.com/lovell/sharp/issues/1118
- https://github.com/kevva/to-ico#readme