Package Exports
- favicons
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (favicons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Favicons 
Favicons generator for Node.js. Produces a multi-size favicon from a single image. Port of grunt-favicons (the good parts at least). Originally "favicon-generator" and "metaimage-generator". Installed through NPM with:
npm install favicons --save-dev
Requires ImageMagick which you can get through Brew with:
brew install imagemagick
Simply require the module and execute it with an optional object of configuration.
- I/O
- Source: The source image used to produce the favicon
string
- Dest: The destination path
string
- Source: The source image used to produce the favicon
- Icons
- Android: create Android homescreen icon
boolean
- Apple: create Apple touch icons
boolean
- Coast: create Opera Coast icon
boolean
- Favicons: create regular favicons
boolean
- Firefox: create Firefox OS icons
boolean
- Windows: create Windows 8 tiles
boolean
- Android: create Android homescreen icon
- Miscellaneous:
- HTML: optional file to write metadata links to
string
, typically "index.html" - Background: background for Windows 8 tiles and Apple touch icons
#string
- TileBlackWhite: make white-only icon on Windows 8 tile
boolean
- Manifest: path to Firefox manifest you want to add links to icons
string
, typically "manifest.webapp" - TrueColor: use true color for favicon.ico or 256 сolor. True color is larger
boolean
- Logging: print logs to console
- Callback: function to execute upon completion
function
(params include 'response' and 'html')
- HTML: optional file to write metadata links to
Defaults are shown below:
var favicons = require('favicons');
favicons({
// I/O
source: 'logo.png',
dest: 'images',
// Icon Types
android: true,
apple: true,
coast: true,
favicons: true,
firefox: true,
windows: true,
// Miscellaneous
html: null,
background: '#1d1d1d',
tileBlackWhite: true,
manifest: null,
trueColor: false,
logging: false,
callback: null
});