1.2.0 • Published 5 years ago

node-get-favicons v1.2.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Get Favicons

Get favicons, apple-touch-icon or something else from any website or HTML.

Usage

API

Get all favicons from example.com

const getFavicons = require('get-favicons');

getFavicons.byUrl('https://google.com').then((favicons) => {
  console.log(favicons);
  // [{
  //   type: 'icon',
  //   imgType: null,
  //   href: 'https://google.com/images/branding/product/ico/googleg_lodp.ico',
  //   sizes: null
  // }]
});

License

MIT © Michael Danilov