Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

emoji-strip

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emoji-strip

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

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.6K
decreased by-81.26%
Maintainers
1
Weekly downloads
 
Created
Source

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 combo-breaker

License

ISC

Keywords

FAQs

Package last updated on 15 Jul 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc