node-get-favicons

1.2.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.0
    42
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.0
    42
  • 1.0.0
    0

Package Sidebar

Install

npm i node-get-favicons

Weekly Downloads

40

Version

1.2.0

License

MIT

Unpacked Size

6.59 kB

Total Files

8

Last publish

Collaborators

  • michaeldanilov