Skip to content

trantlabs/emoji-mashup

Repository files navigation

emoji-mashup

npm version npm downloads Github Actions CI License

Easily create & mashup custom emojis ♻️🥴

Install

# Using npm
npm install emoji-mashup

# Using yarn
yarn add emoji-mashup

Usage

createCustomEmoji({ base, mouth?, eyes?, special? })

This method converts the given emojis and then creates an SVG as string which you can write and edit.

const { createCustomEmoji } = require("emoji-mashup");

const newEmoji = { base: "🥴", mouth: "🥴", eyes: "💀", special: "🤕" };
var emojiCombined = createCustomEmoji(newEmoji);

// You receive a string with the svg data, in this example we write a file with that.
// You will generate a mashup of 🥴, 💀 & 🤕.

License

Published under MIT - Made with 💚 by TrantLabs