Skip to content

Get `favicon`s, `apple-touch-icon` or anything website icons

License

Notifications You must be signed in to change notification settings

MichaelDanilov/node-get-favicons

Repository files navigation

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('node-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

About

Get `favicon`s, `apple-touch-icon` or anything website icons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •