/terminal-support-emoji

Node.js - Is current terminal support emoji or not !

Primary LanguageJavaScriptMIT LicenseMIT

terminal-support-emoji

version Maintenance mit OpenSSF Scorecard build

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 ✨

All Contributors

Thanks goes to these wonderful people (emoji key):


Gentilhomme

💻 📖 👀 🛡️ 🐛

Yoann Buzenet

💻 📖

Licence

MIT