lewismoten / emoji

emoji library
https://lewismoten.github.io/emoji/
ISC License
1 stars 0 forks source link
emoji

emoji

Provides a lookup list of emoji in unicode format.

Installation

npm i @lewismoten/emoji -s

Code

The code is a simple javascript object. Here are examples of how to use it to show :beers:

Module

var emoji = require("@lewismoten/emoji");
console.log(emoji.clinkingBeerMugs);

Browser

<script src="https://github.com/lewismoten/emoji/raw/main/emoji.js" type="text/javascript"></script>
<script type="text/javascript">
  console.log(emoji.clinkingBeerMugs);
</script>

Demo

An interactive demonstration that uses the library exposed as window.emoji is also included. The live demo is also hosted on GitHub pages:

https://lewismoten.github.io/emoji/

Screenshot

Scraper

Names and codes scraped from https://unicode.org/emoji/charts/full-emoji-list.html

The code used to scrape the unicode web page with the emoji list is also included.