npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

fluentui-emojis

v1.0.0

Published

Convert standard emojis to FluentUI Emoji variations (3D, Color, Flat, High-Contrast) automatically.

Readme

FluentUI Emojis ✨

Convert standard emojis into Microsoft's premium FluentUI Emoji set dynamically. This library fetches the high-quality assets (3D, Color, Flat, and High-Contrast) from a dedicated API and replaces standard glyphs in your web applications.

Developed by Kawdhitha Nirmal (Cyber Yakku).


🌟 Features

  • Multi-Style Support: Choose between 3D (Premium 3D render), Color (Vibrant Vector), Flat (Minimalist), and High-Contrast (Accessible).
  • Dynamic Fetching: API-driven search ensures you always get the latest Microsoft emoji assets.
  • Efficient Caching: Built-in caching to prevent redundant API calls during text parsing.
  • Universal Compatibility: Works seamlessly with Plain HTML/JS, React, and Next.js.

📦 Installation

For now, you can include the script directly or copy the src folder into your project.

CDN / Direct Script (Plain HTML)

<script src="https://dev.dubhub.lk/script/fluentui-emojis.js"></script>

React / Module

import { FluentEmoji } from 'fluentui-emojis';

🛠️ Usage Examples

1. Plain HTML / Script Integration

You can use the FluentEmojiParser in any standard HTML project by including the core script.

Step 2: Usage in HTML Files

You can now use a native HTML custom element anywhere in your project:

<!-- Style defaults to '3D' -->
<fluent-emoji glyph="🍏"></fluent-emoji>

<!-- Specifying a custom style -->
<fluent-emoji glyph="🍕" style="Color"></fluent-emoji>
<fluent-emoji glyph="🚗" style="Flat"></fluent-emoji>

Step 3: Scripted Usage (Dynamic Parsing)

If you want to replace emojis within a block of text automatically:

const parser = new FluentEmojiParser({ style: '3D' });
const contentElement = document.getElementById('content');
await parser.parseElement(contentElement);

2. React Component Interaction

Wrap individual emojis or use the component for specific glyphs.

import FluentEmoji from './src/react/FluentEmoji';

function App() {
  return (
    <div>
      <h1>Green Apple: <FluentEmoji glyph="🍏" style="3D" /></h1>
      <p>
        Stay healthy! <FluentEmoji glyph="🥗" style="Color" />
      </p>
    </div>
  );
}

🌐 API Interaction

The library communicates with the following endpoint: https://fluentui-emoji-my.netlify.app/api/emojis?search={EMOJI}

Sample Response Structure:

{
  "creator": "Kawdhitha Nirmal",
  "developers": "Cyber Yakku",
  "total": 1,
  "search_query": "🍏",
  "emojis": [
    {
      "cldr": "green apple",
      "variations": {
        "3D": ["https://fluentui-emoji-my.netlify.app/assets/Green-apple/3D/green_apple_3d.png"],
        "Color": ["https://fluentui-emoji-my.netlify.app/assets/Green-apple/Color/green_apple_color.svg"],
        "Flat": ["https://fluentui-emoji-my.netlify.app/assets/Green-apple/Flat/green_apple_flat.svg"],
        "High-Contrast": ["https://fluentui-emoji-my.netlify.app/assets/Green-apple/High-Contrast/green_apple_high_contrast.svg"]
      }
    }
  ]
}

🎨 Styles Available

| Style | Description | Preview Goal | |-------|-------------|--------------| | 3D | High-fidelity 3D renders with lighting and shadows. | ✨ Premium | | Color | Standard vibrant vector-based emojis. | 🌈 Colorful | | Flat | Modern flat design with solid colors. | 🧩 Minimal | | High-Contrast | Black and white high-contrast for accessibility. | 👁️ Clarity |


📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

Developed with ❤️ by Cyber Yakku (Kawdhitha Nirmal). "Making the web more expressive."