Coder Social home page Coder Social logo

kumojin / favicon-loader Goto Github PK

View Code? Open in Web Editor NEW
2.0 10.0 1.0 772 KB

For retrieving the favicon of a given website and displaying it

License: MIT License

JavaScript 55.34% HTML 4.80% TypeScript 39.85%
favicon favicons javascript loader typescript

favicon-loader's People

Contributors

goverdhan07 avatar jmaitrehenry avatar lukaszkokot avatar lunatetzuka avatar meliecool avatar renovate[bot] avatar violettelcrt avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

goverdhan07

favicon-loader's Issues

Add a way to specify a different favicon provider than google

Currently, the getFavicon method does not allow changing the favicon provider, which is google.com by default. This could be changed by adding a second "options" parameter, so that we could call for example:

getFavicon('https://applecom'); // Uses the default google.com/s2/favicons provider
getFavicon('https://applecom', { provider: FAVICON_KIT })

Where FAVICON_KIT would be an enumeration value, along with GOOGLE.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/main.yml
  • actions/checkout v4
  • ubuntu 22.04
npm
package.json
  • @babel/cli 7.23.0
  • @babel/core 7.23.2
  • @babel/plugin-proposal-class-properties 7.18.6
  • @babel/preset-env 7.23.2
  • @babel/preset-typescript 7.23.2
  • @types/jest 29.5.5
  • @typescript-eslint/eslint-plugin 6.7.5
  • @typescript-eslint/parser 6.7.5
  • awesome-typescript-loader 5.2.1
  • babel-jest 29.5.0
  • babel-plugin-add-module-exports 1.0.4
  • babel-preset-minify 0.5.2
  • eslint 8.51.0
  • eslint-plugin-import 2.28.1
  • eslint-plugin-node 11.1.0
  • eslint-plugin-prettier 5.0.1
  • eslint-plugin-promise 6.1.1
  • http-server 14.1.1
  • jest 29.7.0
  • jest-environment-jsdom 29.7.0
  • typescript 5.2.2
nvm
.nvmrc
  • node 18

  • Check this box to trigger a request for Renovate to run again on this repository

Add tests

This one is a bit tricky as we're relying a lot on DOM to make the thing work ๐Ÿ˜ฌ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.