Skip to content
Samuel Voeller edited this page Sep 19, 2024 · 4 revisions

discord_emoji (discord-emoji)

Table of Contents

Installation

Node.js Registry: https://www.npmjs.com/package/discord-emoji npm install discord-emoji

Deno HTTP Path: https://raw.githubusercontent.com/xCykrix/discord_emoji/main/mod.ts

Deno Registry Path: https://deno.land/x/discord_emoji/mod.ts

Deno

import * as dismoji from 'https://deno.land/x/discord_emoji/mod.ts';

Node

const dismoji = require('discord-emoji');

API

assertEquals(dismoji.people.grinning, '๐Ÿ˜€');
assertEquals(dismoji.nature.dog, '๐Ÿถ');
assertEquals(dismoji.food.hamburger, '๐Ÿ”');
assertEquals(dismoji.activity.basketball, '๐Ÿ€');
assertEquals(dismoji.travel.airplane, 'โœˆ๏ธ');
assertEquals(dismoji.objects.watch, 'โŒš');
assertEquals(dismoji.symbols.eight_pointed_black_star, 'โœด๏ธ');
assertEquals(dismoji.flags.flag_us, '๐Ÿ‡บ๐Ÿ‡ธ');
Clone this wiki locally