0.1.7 • Published 5 years ago

detect-emoji-support v0.1.7

Weekly downloads
802
License
MIT
Repository
github
Last release
5 years ago

detect-emoji-support

Detect support for emoji character sets.

const emojiSupport = require('detect-emoji-support');

if (emojiSupport()) {
    console.log('☕');
}

Detection code ported from the Modernizr library into a stand-alone package. https://github.com/Modernizr/Modernizr/blob/v3.5.0/feature-detects/emoji.js