Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

faviconoclast

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

faviconoclast

Find (fav)icon URLs for any given web page.

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

"What a terrible name."

~ Everybody

faviconoclast

You know those little icons in your browser tabs? It gets those, basically. Pass it the URL to a webpage and it'll give you the URL to an icon for that page.

You can install faviconoclast for use in your nodejs project:

npm i faviconoclast --save

Or globally, to use on the command line:

npm i faviconoclast -g

Usage

All you need to do is pass in a page URL. You can include the protocol if you like, but it's not required.

As a module

const faviconoclast = require('faviconoclast');

faviconoclast('cnn.com', (err, iconUrl) => {
  // http://i.cdn.turner.com/cnn/.e/img/3.0/global/misc/apple-touch-icon.png
  console.log(iconUrl);
});

On the command line

$ faviconoclast cnn.com

# http://i.cdn.turner.com/cnn/.e/img/3.0/global/misc/apple-touch-icon.png

Keywords

FAQs

Package last updated on 08 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc