includes-emoji

1.0.0 • Public • Published

includes-emoji.js

Check if a string includes an emoji

⚙️ Installation

npm i includes-emoji

CDN Links:

📖 Usage

◎ Import

// ES6
import includesEmoji from "includes-emoji";

// commonjs
const includesEmoji = require("includes-emoji");

◎ Example

includesEmoji("Hello 🚀 world!");          // True
includesEmoji("The weather is ☀️ today!"); // True
includesEmoji("String 69!");               // False
includesEmoji("I ♥ NY");                   // False

Support me on Patreon - Check out my socials

Dependents (0)

Package Sidebar

Install

npm i includes-emoji

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.66 kB

Total Files

4

Last publish

Collaborators

  • axoraxdev