8000 GitHub - voxpelli/generate-favicon: Helper to generate favicons
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

voxpelli/generate-favicon

Repository files navigation

@voxpelli/generate-favicon

CLI for generating favicons from SVG source

npm version npm downloads neostandard javascript style Module type: ESM Types in JS Follow @voxpelli@mastodon.social

Install

Globally

npm install -g @voxpelli/generate-favicon

Locally

npm install -D @voxpelli/generate-favicon

Options

  Usage
    $ generate-favicon example.svg

  Output options
    --background [#0000]  -b  A background color to use when extending (parsed using "color-string")
    --ico                 -i  Whether to output a .ico file (in a standard size)
    --name                -n  Custom name to use for output
    --no-default              Skips default favicon output
    --size                -s  The size to output PNG file for with optional values using a ":" as a separator: size:name:padding:suffix

  Options
    --dry-run                 Runs without saving anything
    --help                    Prints this help and exits.
    --silent                  Use to silent any text output
    --version                 Prints current version and exits.

  Examples
    $ generate-favicon --name something --background #000 --no-default --size 120 --size 240 --ico example.svg
    $ generate-favicon --background #000 example.svg example-2.svg

See also

About

Helper to generate favicons

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0