emojisource
v1.0.1
Published
Returns random emoji. Also, filters "boring" emoji.
Readme
emojisource
This is a thin, opinionated wrapper around node-emoji. It provides random emoji and provides a filter for "boring" emoji.
Installation
npm install emojisourceUsage
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.
