Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-favicon-windows

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-favicon-windows

Generate site favicons via ImageMagick - Windows-friendly build

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

grunt-favicon NPM version Built with Grunt

Npm Downloads Npm Downloads

Generate site favicons via ImageMagick.

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-favicon --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of javascript:

grunt.loadNpmTasks("grunt-favicon");

WARNING: This extension require global install ImageMagick.

  • For Windows go to the ImageMagick and download installer.
  • For Debian, Ubuntu or Mint run on command line: sudo apt-get install imagemagick
  • For Redhut, Centos or Fedora run on command line: sudo yum install ImageMagick
  • For Gentoo run on command line: sudo emerge media-gfx/imagemagick
  • For MacOS run on command line: sudo port install ImageMagick

Options

options.countOfImages

  • type <number>
  • default 6

Count of images into icon.

options.colorDepth

  • type <number>
  • default 8

Count of bits for color.

Example

grunt.initConfig({
    favicon: {
        options: {
            // Icons contains 3 images
            // (16x16, 32x32, 48x48)
            countOfImages: 3,
            // for 256 colors, is max value
            colorDepth: 8
        },
        tasks: {
            options: {
                // override options if needed
            },
            files: [{
                expand : true,
                cwd    : "src",
                ext    : ".ico",
                dest   : "dest",
                src    : "*.png"
            }]
        }
    }
});

Keywords

FAQs

Package last updated on 16 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc