@lewismoten/emoji

2.3.1 • Public • Published

emoji

Provides a lookup list of emoji in unicode format.

Installation

npm i @lewismoten/emoji -s

Code

The code is a simple javascript object.

Module

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

Browser

<script src="./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.

Package Sidebar

Install

npm i @lewismoten/emoji

Weekly Downloads

1

Version

2.3.1

License

ISC

Unpacked Size

63.1 kB

Total Files

4

Last publish

Collaborators

  • lm3