Socket
Socket
Sign inDemoInstall

github-emojis

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-emojis

All GitHub's emojis in one place.


Version published
Weekly downloads
16
increased by60%
Maintainers
0
Weekly downloads
 
Created
Source

github-emojis

npm version npm downloads jsr version

All GitHub's emojis in one place.

📦 Installation

npm install github-emojis

📚 Usage

import { emojis, exists, get, getUrl, parse } from "github-emojis";

// Get all emojis
console.log(emojis);

// Check if an emoji exists
console.log(exists("100")); // true

// Get an emoji by name
console.log(get("100")); // 💯

// Get an emoji url by name
console.log(getUrl("100")); // https://github.githubassets.com/images/icons/emoji/unicode/1f4af.png?v8

// Parse a string with emojis
console.log(parse("Hello :smile:")); // Hello 😄

If you only want to get the emoji urls, you can directly import the emojis object.

import emojis from "github-emojis/emojis";

All emojis

[!NOTE] You can view all on github-emojis.luxass.dev or directly below.

📄 License

Published under MIT License.

Keywords

FAQs

Package last updated on 27 Jul 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