Skip to content

jimkang/emojisource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emojisource

This is a thin, opinionated wrapper around node-emoji. It provides random emoji and provides a filter for "boring" emoji.

Installation

npm install emojisource

Usage

var emojisource = require('emojisource');
var emoji = emojisource.getRandomTopicEmoji();
if (!emojisource.emojiValueIsOKAsATopic('🆒')) {
  console.log('Not OK! Emoji is too boring.');
}

Tests

Run tests with make test.

License

MIT.

About

Returns random emoji. Also, filters "boring" emoji.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published