Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

FlorianWendelborn/favorite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

favorite

MIT License Build Status Code Climate NPM Downloads NPM Dependencies Code Documentation

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'

Releases

No releases published

Packages

No packages published