1.0.1 • Published 4 years ago

emojisource v1.0.1

Weekly downloads
131
License
MIT
Repository
github
Last release
4 years ago

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.