Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 574 Bytes

emoji.md

File metadata and controls

23 lines (15 loc) · 574 Bytes

@nlpjs/emoji

Introduction

@nlpjs/emoji is the package that brings the function removeEmojis that replace emojis with their text equivalents.

Installing

removeEmojis is a function of the package @nlpjs/emoji, that you can install via NPM:

  npm install @nlpjs/emoji

Example of use

const { removeEmojis } = require('@nlpjs/emoji');

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