favorite
v0.0.1
Published
Get a website's favicon.
Downloads
9
Readme
favorite
Node.js library to get favicons.
Installation
Basic: npm install favorite
As Dependency: npm install favorite --save
Require in Node: var favorite = require('favorite');
Methods
get (String url, Function callback)
Returns the website's favicon.
Example:
favorite.get('https://nodejs.org', function (err, data) {
console.log(err, data);
});
// null, 'https://nodejs.org/favicon.ico'