emojity

Creates emoji array from text

Usage no npm install needed!

<script type="module">
  import emojity from 'https://cdn.skypack.dev/emojity';
</script>

README

Emojity

Emojis is a module that allows you to quickly transform a word into emoji arrays

Installation:

npm i emojity

Importing to your code:

const { emojity } = require("./emojity");

Generating an array:

const { emojity } = require('./emojity');
let EmojiArray = emojity.getEmojis('Emojity');

EmojiArray:

['🇪', '🇲', '🇴', '🇯', '🇮', '🇹', '🇾']

Example application:

  • Creating emoji response to the right word using Discord.js

Usage