0.0.2 • Published 10 years ago

emoji-exists v0.0.2

Weekly downloads
16
License
ISC
Repository
github
Last release
10 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

9 years ago

1.0.0

9 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago