extract-emoji

1.0.2 • Public • Published

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 🙂 🙂') // => ['🙂', '🙂'];

Readme

Keywords

Package Sidebar

Install

npm i extract-emoji

Weekly Downloads

17

Version

1.0.2

License

MIT

Last publish

Collaborators

  • franckernewein