1.0.0 • Published 5 years ago

favicon-exist v1.0.0

Weekly downloads
2
License
GPL-3.0-or-later
Repository
github
Last release
5 years ago

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

1.0.0

5 years ago

0.0.1

5 years ago