favorite

0.0.1 • Public • Published

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'

Package Sidebar

Install

npm i favorite

Weekly Downloads

7

Version

0.0.1

License

MIT

Last publish

Collaborators

  • npm