1.1.7 • Published 8 months ago

github-emojis v1.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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.

1.1.7

8 months ago

1.1.6

8 months ago

1.1.1

12 months ago

1.1.5

12 months ago

1.1.4

12 months ago

1.0.1

2 years ago

1.0.0

2 years ago