How to use favicons - 4 common examples

To help you get started, we’ve selected a few favicons examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dmnsgn / frontend-boilerplate / config / scripts / favicons.js View on Github external
} else {
    console.log(chalk.yellow("Favicons files missing in the response."));

  if (response.html) {
    console.log("Favicons template generated."));
  } else {
    console.log(chalk.yellow("Favicons template missing in the response."));

favicons(source, configuration, callback);
github dmnsgn / frontend-boilerplate / boilerplate / tasks / images.js View on Github external
export function generateFavicons(done) {
  return favicons(`${config.src}/favicon.png`, {
    appName: config.title,
    appDescription: config.description,
    developerURL: config.developerURL,
    background: 'transparent',
    path: 'images/favicon/',
    url: 'images/share.jpg',
    display: 'standalone',
    orientation: 'portrait',
    version: config.version,
    logging: config.verbose,
    online: false,
    icons: {
      android: true,
      appleIcon: true,
      appleStartup: true,
github onedevstudio / starter-kit / gulpfile.js View on Github external
task('favicons', () =>
    .pipe(favicons(config.favicons)).on('error', $.util.log)
github tlambert03 / FPbase / gulpfile.js View on Github external
gulp.task("favicon", function() {
  return gulp
    .src(paths.images + "/favicon.png")
        appName: "FPbase",
        appDescription: "The Fluorescent Protein Database",
        developerName: "Talley Lambert",
        developerURL: "",
        background: "#17941e",
        path: "/",
        url: "",
        display: "standalone",
        orientation: "portrait",
        start_url: "/",
        version: 1.0,
        logging: false,
        html: "index.html",
        pipeHTML: true,
        replace: true


Favicon generator for Node.js

Latest version published 2 months ago

Package Health Score

86 / 100
Full package analysis

Popular favicons functions

Popular JavaScript code snippets

Find secure code to use in your application or website