favicon-exist

1.0.0 • Public • Published

Favicon

Build Status codecov

Example

Install

yarn add favicon-exist
# or 
npm install favicon-exist

Use

var favicon = require('favicon-exist');
var url = 'https://www.noxxxx.com';
var result = null;
 
favicon(url, function (error, icon) {
    if (error) return;
    result = icon;
});

Why

The original npm package 'favicon' seems like not maintaining, and I fix several bugs to improve the ability to get favicon url.

Development

Skip this part if you just want to use favicon.

For those who are interested in contributing to this plugin, you can submit pull request or just download this repository and run.

License

Favicon is released under the GNU License

Readme

Keywords

Package Sidebar

Install

npm i favicon-exist

Weekly Downloads

3

Version

1.0.0

License

GPL-3.0-or-later

Unpacked Size

39 kB

Total Files

7

Last publish

Collaborators

  • brooks2harry