1.0.3 • Published 5 years ago

@caijs/emoji v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

@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:+