New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

discord-emoji-convert

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-emoji-convert

A very simple Text to Emoji converter for Discord

  • 1.5.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
60
decreased by-20%
Maintainers
1
Weekly downloads
 
Created
Source

NPM

STYLE VERSION DISCORD DOWNLOADS

Installation

To install Discord Emoji Convert, simply use the following command:

npm install discord-emoji-convert

Add this to your code as well:

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

Using Emoji Convert

To convert any string to emojis, type emoji.convert("insert string here") and the function will return your converted Discord Emoji string.

Supported Characters

abcdefghijklmnopqrstuvwxyz1234567890+-x*/$!? This includes uppercase characters since all characters are converted to lowercase in order for the Discord Emojis to work. "/" is converted to the Discord Division Emoji and spaces are simply just lengthened to be three spaces.

Example

Inserting console.log(emoji.convert("SNARR")); into your code, this module will output the following string:

:regional_indicator_s: :regional_indicator_n: :regional_indicator_a: :regional_indicator_r: :regional_indicator_r:

Keywords

FAQs

Package last updated on 01 Aug 2017

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