Files
zoff/server/node_modules/emoji-strip
Kasper Rynning-Tønnesen 5b626696bd Added files
2015-07-07 21:44:09 +02:00
..
2015-07-07 21:44:09 +02:00
2015-07-07 21:44:09 +02:00
2015-07-07 21:44:09 +02:00
2015-07-07 21:44:09 +02:00
2015-07-07 21:44:09 +02:00
2015-07-07 21:44:09 +02:00
2015-07-07 21:44:09 +02:00
2015-07-07 21:44:09 +02:00
2015-07-07 21:44:09 +02:00
2015-07-07 21:44:09 +02:00

emoji-strip

Strip emoji from a string in Node.js and browsers.

Examples

var emojiStrip = require('emoji-strip'),
    emoji
;

emoji = 'thumbs-up👍 for staying strong💪 without emoji please🙏';
console.log(emojiStrip(emoji));
// => "thumbs-up for staying strong without emoji please"

emoji = 'dealing with emoji😡 makes me feel like poop💩';
console.log(emojiStrip(emoji));
// => "dealing with emoji makes me feel like poop"

API

emojiStrip(str)

Returns a copy of str with any emoji characters removed.

Supported emoji

The emojiStrip function is capable of removing any emoji that the gemoji package supports. You can see the list in gemoji's Supported Gemoji document.

Install

Install with npm:

npm install emoji-strip

License

ISC