terminal-support-emoji
Node.js - Detect if the terminal that execute your script support emoji or not (using the process.ppid).
Getting started
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm i @topcli/terminal-support-emoji
# or
$ yarn add @topcli/terminal-support-emoji
Usage example
import { supportEmoji } from "@topcli/terminal-support-emoji";
supportEmoji().then(console.log).catch(console.error);
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Gentilhomme 💻 📖 👀 🛡️ 🐛 |
Yoann Buzenet 💻 📖 |
Licence
MIT