node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

fav

Fav

A simple module for parsing favicon ICO files in Node.JS

to install

npm install fav

Here's a simple usage example

    var Canvas = require('Canvas')
      , fs = require('fs')
      , fav = require('fav')(Canvas)
      , icon = fav('favicon.ico').getLargest()
 
    icon.createPNGStream().pipe(fs.createWriteStream('example.png'))