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

@meowkj/fluent-emoji-assets

v0.1.0

Published

Reusable Node-friendly helpers for Microsoft Fluent Emoji CDN URLs

Readme

@meowkj/fluent-emoji-assets

Reusable Node-friendly helpers for generating Microsoft Fluent Emoji asset URLs with CDN support.

This package is meant for teams that want one consistent way to use Windows 11 style Fluent Emoji assets across many Node, Vue, React, or static-web projects.

npm version license

Features

  • Semantic alias catalog such as cat, clipboard, warning
  • Stable URL generation for Microsoft Fluent Emoji assets
  • CDN support for jsdelivr and rawGithub
  • Zero runtime dependencies
  • ESM-first package with TypeScript declarations
  • Works nicely with pnpm, npm, and frontend wrappers

Why

Microsoft Fluent Emoji 3D assets are image files, not a normal web font.

For multi-project reuse, the cleanest pattern is:

  • keep a semantic emoji catalog in code
  • generate upstream asset URLs from one place
  • let each project decide how to render them

That means this package works as a shared source of truth, while your apps stay free to use:

  • <img>
  • Vue / React wrapper components
  • CSS backgrounds
  • build-time asset transforms

Install

Local development install

pnpm add /Users/kj/Desktop/fluent-emoji-assets

From npm after publishing

pnpm add @meowkj/fluent-emoji-assets

Quick Start

import {
  createFluentEmojiClient,
  getFluentEmojiMeta,
  getFluentEmojiUrl
} from '@meowkj/fluent-emoji-assets'

const catUrl = getFluentEmojiUrl('cat')
const warningMeta = getFluentEmojiMeta('warning')

const emoji = createFluentEmojiClient({
  provider: 'jsdelivr',
  repo: {
    ref: 'main'
  }
})

console.log(catUrl)
console.log(warningMeta)
console.log(emoji.url('clipboard'))

API

getFluentEmojiUrl(name, options?)

Returns a CDN URL from a semantic alias.

getFluentEmojiUrl('warning')

getFluentEmojiMeta(name)

Returns:

  • assetName
  • fallback

hasFluentEmoji(name)

Checks whether a semantic alias exists.

listFluentEmojiNames()

Returns all supported aliases.

buildFluentEmojiAssetPath(assetName, options?)

Builds the upstream repo-relative asset path from an official asset name.

buildFluentEmojiUrl(assetName, options?)

Builds a direct asset URL from an official asset name.

createFluentEmojiClient(defaults?)

Creates a reusable client with shared defaults.

const emoji = createFluentEmojiClient({
  provider: 'jsdelivr',
  repo: { ref: 'main' }
})

emoji.url('cat')
emoji.rawUrl('Clipboard')

Supported Providers

  • jsdelivr
  • rawGithub

Default provider:

  • jsdelivr

Notes

  • Default style is 3D
  • Default upstream target is microsoft/fluentui-emoji@main
  • For production apps, pinning repo.ref to a tag or commit SHA is safer than following main
  • This package does not bundle upstream emoji binaries

Example Integration Pattern

Typical reuse looks like this:

  1. Use this package in a shared design/util package
  2. Build a small framework wrapper for your frontend stack
  3. Keep aliases like warning, clipboard, cat, and gear in app code

That gives you one place to manage asset routing and fallback behavior.

Development

pnpm test

The test suite uses the built-in Node test runner and does not require extra dependencies.

Upstream References

  • Microsoft Fluent Emoji repository: https://github.com/microsoft/fluentui-emoji
  • jsDelivr documentation: https://www.jsdelivr.com/documentation

This package is based on upstream repository layout plus CDN URL conventions. Please review upstream asset availability and licensing before publishing your own wrappers.

License

MIT