@caijs/emoji

Replace emojies with equivalent strings

Usage no npm install needed!

<script type="module">
  import caijsEmoji from 'https://cdn.skypack.dev/@caijs/emoji';
</script>

README

@caijs/emoji

Build Status Coverage Status NPM version NPM downloads

This library replace emojis with their equivalent text.

Installation

In your project folder run:

$ npm install @caijs/emoji

Example of use

const removeEmojis = require('@caijs/emoji');
const actual = removeEmojis('I ❤️  ☕️! -  😯⭐️😍  ::: test : : 👍+');
console.log(actual); // I :heart:  :coffee:! -  :hushed::star::heart_eyes:  ::: test : : :thumbsup:+