/extract-emojis

Extract emojis from a given string

Primary LanguageJavaScriptMIT LicenseMIT

ExtractEmojis

Extract emojis from a given string.

☁️ Installation

# Using npm
npm install --save extract-emojis

# Using yarn
yarn add extract-emojis

📋 Example

const extractEmojis = require("extract-emojis")

console.log(extractEmojis("I love you ❤️"));
// => ['❤️']

console.log(extractEmojis("I am hungry 🍽️😋🍕"));
// => ['🍽️','😋','🍕']

Found a bug? Open an issue. 🐛

Thanks! ❤️