Package Exports
- detect-emoji-support
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (detect-emoji-support) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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