Skip to main content
Module

x/emoji/mod.ts

πŸ¦„ Emojis for dinosaurs
Go to Latest
import * as emoji from "https://deno.land/x/emoji@0.2.1/mod.ts";

Functions

Get alias from emoji. - e.g. πŸ‘• -> "shirt"

Get alias from emoji. - e.g. πŸ‘• -> ["shirt", "tshirt"]

Get all emojis as alias map.

Get all emojis.

Get all emojis as code map.

Tagged template version of emojify

Replace all emoji names in a string with actual emojis.

Get emoji from alias. - e.g. "unicorn" -> πŸ¦„

Get emoji info from alias or emoji

Get emoji info from alias or emoji

Get random emoji. - e.g. {emoji: "πŸ‘•", alias: "shirt"}

Replace all emojis in a string.

Strip all emojis in a string.

Replace all emoji in a string with actual emoji names.