favicons-generate
TypeScript icon, indicating that this package has built-in type declarations

0.0.15 • Public • Published

favicons-generate

npm version npm

This library is a CLI for generating favicons using favicons

Install

npm i -g favicons-generate

usage

$ favicons-generate -h
 
Usage: favicons-generate --input ./example.svg --output ./favicons
 
Options:
  -v, --version              output the current version
  -i, --input <input>        Input favicons resource. example: --input ./favicon.png
  -o, --output <output>      Output favicons path. example: --output ./favicon
  -t, --template <template>  Output template path. example: --template ./template
  -h, --help                 display help for command

Option

You can change the settings by placing the following files (package.json, .faviconrc.js, .faviconrc, favicon.config.js).

// favicon.config.js
module.exports = {
  input: './example.svg', // Required. override cli options.
  output: './favicons', // Required. override cli options.
  template: './template/meta.html', // Default is the same as output, default name is meta.html.
  config: {
    // The options are the same as https://github.com/itgalaxy/favicons#usage
  },
};

Readme

Keywords

Package Sidebar

Install

npm i favicons-generate

Weekly Downloads

100

Version

0.0.15

License

MIT

Unpacked Size

44.6 kB

Total Files

14

Last publish

Collaborators

  • kameikazuto