Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lewismoten/emoji

Package Overview
Dependencies
Maintainers
0
Versions
3685
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lewismoten/emoji

list of named emoji unicode values

  • 3.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

emoji

Provides a lookup list of emoji in unicode format.

Installation

npm i @lewismoten/emoji -s

Code

How to show :beers:

import emoji from "@lewismoten/emoji";
console.log(emoji.clinkingBeerMugs);

Demo

A local demo can be ran using vite

npm i
npm start
http://localhost:5173

The live demo is hosted on GitHub pages:

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

Screenshot

Scripts

  • clean: drops the build & dist folders
  • build: creates typescript
  • bundle: creates JavaScript & TypeScript Definitions for packaging
  • prepublishOnly: ensures a new bundle is created for publishing
  • start: Runs demo site at http://localhost:5173
  • test: Misc tests from research
  • get-zwj: Downloads zero-width join data (deprecated)
  • get-sequences: Downloads sequences (deprecated)
  • get-test: Downloads test data
  • parse: Downloads test data and parses it to create emoji.ts and emoji.json

Scraper (Depricated)

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

  • Open the web page
  • Wait for it to load completely
  • Copy code from ./scrape.js into the browsers console
  • Wait for the page to be parsed and new code generated
  • Copy the generated code into ./emoji.js
  • In the terminal, type npm run build

Keywords

FAQs

Package last updated on 01 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc