favicon: ^1.0.13 copied to clipboard
Library for finding favicons in a website, either in a <link> or by predefined URL.
- Better validation of ICO file signature, an ico can also contain a PNG.
- Cleaned up code a bit.
- Validation of ICO file signaturee
- Support for filtering acceptable file extensions
- Trims query string from URL
- Fix for NPE at content type check
- Always look for a valid HTTP status code, non-zero content and an image response header.
- Trims whitespace before and after URLs
- Double-check content type for predefined URLs
- Fix for URLs with just path
- Fix for failure on multiple link tags
- Fix for NPE
- Will sort output based on image dimensions
- Added a getBest methods
- Don't rely on HTTP 200 OK for predefined URLs, but check file size too
- Fix for relative URLs
- Fixed broken example
- Initial version, created by Stagehand