Parse favicon ICO files in node.js
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
.gitignore
README.md
fav.js
package.json

README.md

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'))