0.0.4 • Published 10 years ago
ico-ico v0.0.4
Favicon
A Node.js module for finding the URL of a web site's favicon.
Installation
$ npm install favicon
Test
$ npm install -g mocha
$ mocha
Usage
In this example, favicon_url
is a String
if an icon is found, or
null
otherwise.
var favicon = require('favicon');
favicon("http://nodejs.org/", function(err, favicon_url) {
// ...
});
License
See LICENSE.