Norway Porridge Makers

    favorite-icon-emoji
    TypeScript icon, indicating that this package has built-in type declarations

    0.3.0 • Public • Published

    😃 Favorite Icon Emoji

    NPM version NPM downloads Bundlephobia

    A small library for emoji manipulating in favicon.

    Installation

    npm install favorite-icon-emoji

    Demo

    API

    FaviconEmoji.set(symbol: string)

    Set the favicon with your own emoji.

    import FaviconEmoji from 'favorite-icon-emoji';
     
    FaviconEmoji.set('❤️');

    FaviconEmoji.reset()

    Reset the favicon.

    import FaviconEmoji from 'favorite-icon-emoji';
    // ...
    FaviconEmoji.reset();

    Browser support

    • Chrome: ✅
    • Firefox: ✅
    • Opera: ✅
    • IE: ❌
    • Edge: ❌
    • Safari: ❌ (Safari hides favicons)

    License

    MIT License

    Install

    npm i favorite-icon-emoji

    DownloadsWeekly Downloads

    1

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    12.2 kB

    Total Files

    8

    Last publish

    Collaborators

    • hcodes