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 🙏

© 2025 – Pkg Stats / Ryan Hefner

emoji-datasource-openmoji

v1.0.0

Published

OpenMoji emoji sprite sheets compatible with emoji-datasource. Drop-in replacement for emoji-datasource-apple/google/twitter.

Readme

emoji-datasource-openmoji

OpenMoji emoji sprite sheets compatible with emoji-datasource. Drop-in replacement for emoji-datasource-apple, emoji-datasource-google, or emoji-datasource-twitter.

OpenMoji emoji examples

Features

  • Full compatibility with emoji-datasource grid layout (62x62)
  • 3,786 emojis including 1,875 skin tone variants
  • Smaller file sizes than Apple emoji sprites
    • 32px: 1.0 MB (vs 1.3 MB Apple)
    • 64px: 2.4 MB (vs 3.5 MB Apple)
  • Open source OpenMoji design under CC-BY-SA 4.0
  • WebP format for optimal compression

Installation

npm install emoji-datasource-openmoji

or

pnpm add emoji-datasource-openmoji

Usage

As a drop-in replacement

If you're currently using emoji-datasource-apple:

// Before
const emojiSheet = require('emoji-datasource-apple/img/apple/sheets/32.png');

// After
const emojiSheet = require('emoji-datasource-openmoji/img/sheets/32.webp');

With emoji-datasource

const emojiData = require('emoji-datasource');

// All emoji positions (sheet_x, sheet_y) from emoji-datasource
// work directly with the OpenMoji sprite sheets
const emoji = emojiData.find(e => e.short_name === 'grinning');
console.log(emoji.sheet_x, emoji.sheet_y); // Grid position in sprite sheet

CSS Background Positioning

.emoji {
  background-image: url('/path/to/emoji-sheet-32.webp');
  background-size: calc(34px * 62); /* (32px + 2px margin) * 62 grid cells */
  width: 32px;
  height: 32px;
}

.emoji-grinning {
  background-position-x: calc(var(--sheet-x) * -34px - 1px);
  background-position-y: calc(var(--sheet-y) * -34px - 1px);
}

Available Sprite Sheets

  • img/sheets/32.webp - 32×32px emojis (2108×2108px total)
  • img/sheets/64.webp - 64×64px emojis (4092×4092px total)

Size comparison

Full Sprite Sheet (62×62 grid)

Complete sprite sheet

Building from Source

npm install
npm run build

This will:

  1. Load emoji positions from emoji-datasource
  2. Load corresponding OpenMoji SVGs
  3. Generate sprite sheets at img/sheets/*.webp

Grid Layout

The sprite sheets use a 62×62 grid matching emoji-datasource:

  • Each emoji has a 1px margin
  • Cell size: emoji size + 2px margin
  • Grid positions come from emoji-datasource's sheet_x and sheet_y values

Skin Tone Support

All 1,875 skin tone variants are included:

  • Fitzpatrick Type 1-2: 👋🏻
  • Fitzpatrick Type 3: 👋🏼
  • Fitzpatrick Type 4: 👋🏽
  • Fitzpatrick Type 5: 👋🏾
  • Fitzpatrick Type 6: 👋🏿

License

Credits

Related Projects