extract-emoji
v1.0.2
Published
Extract emoji from a string
Downloads
86
Readme
extract-emoji
Extract emoji from a string
the Gist
import { all, isEmoji, extractEmoji } from 'extract-emoji';
console.log(all[4]); // => 🙂
isEmoji(🙂); // => true
extractEmoji('I am so Happy 🙂 🙂') // => ['🙂', '🙂'];