Skip to content

Latest commit

 

History

History

emoji

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@thi.ng/emoji

npm version npm downloads Mastodon Follow

This project is part of the @thi.ng/umbrella monorepo.

About

Bi-directional lookup tables mapping emoji names & their characters.

There're lots of other emoji packages available, most of them with various additional functionality & dependencies. In contrast, this package merely provides simple bi-directional mappings between emoji names & their actual characters. Nothing more, nothing less.

References

The index is based on the one used by node-emoji (which itself is sourced from the js-emoji package).

For reasons of uniformity, all hyphens (-) in names have been replaced with underscores (_).

Status

ALPHA - bleeding edge / work-in-progress

Search or submit any issues for this package

Installation

yarn add @thi.ng/emoji

ES module import:

<script type="module" src="https://cdn.skypack.dev/@thi.ng/emoji"></script>

Skypack documentation

For Node.js REPL:

const emoji = await import("@thi.ng/emoji");

Package sizes (brotli'd, pre-treeshake): ESM: 11.75 KB

Dependencies

None

API

Generated API docs

import { EMOJI, NAMES } from "@thi.ng/emoji";

EMOJI["minibus"]
// "🚐"

NAMES["🚐"]
// "minibus"

Authors

If this project contributes to an academic publication, please cite it as:

@misc{thing-emoji,
  title = "@thi.ng/emoji",
  author = "Karsten Schmidt",
  note = "https://thi.ng/emoji",
  year = 2023
}

License

© 2023 Karsten Schmidt // Apache License 2.0