1.0.1 • Published 8 years ago

emoji-exists v1.0.1

Weekly downloads
16
License
ISC
Repository
github
Last release
8 years ago

emojiExists

This is a function that checks to see whether a string contains only emoji or not.

Installing

NPM

npm install emoji-exists

Using

From Node

var emojiExists = require('emoji-exists');

emojiExists('foo');
>> false

emojiExists('foo😀');
>> false

emojiExists('😀');
>> true

emojiExists('😀🎉');
>> true

emojiExists.number('😀');
>> 1

emojiExists.number('🍕🍕🍕');
>> 3

emojiExists.number('EAT MY 🍕');
>> 1
1.0.1

8 years ago

1.0.0

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago