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 1.07 MB

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 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.

Add tests

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

Dependency Dashboard

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

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm @babel/plugin-proposal-class-properties Unavailable

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • ci(deps): lock file maintenance

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@692973e3d937129bcbf40652eb9f2f61becf3332
  • ubuntu 22.04
npm
package.json
  • @babel/cli 7.24.8
  • @babel/core 7.25.2
  • @babel/plugin-proposal-class-properties 7.18.6
  • @babel/preset-env 7.25.3
  • @babel/preset-typescript 7.24.7
  • @types/jest 29.5.12
  • @typescript-eslint/eslint-plugin 7.18.0
  • @typescript-eslint/parser 7.18.0
  • awesome-typescript-loader 5.2.1
  • babel-jest 29.7.0
  • babel-plugin-add-module-exports 1.0.4
  • babel-preset-minify 0.5.2
  • eslint 8.57.0
  • eslint-plugin-import 2.29.1
  • eslint-plugin-n 14.0.0
  • eslint-plugin-prettier 5.2.1
  • eslint-plugin-promise 6.6.0
  • http-server 14.1.1
  • jest 29.7.0
  • jest-environment-jsdom 29.7.0
  • typescript 5.5.4
nvm
.nvmrc
  • node 20

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

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.