Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Latest commit

 

History

History
56 lines (39 loc) · 3.19 KB

README.md

File metadata and controls

56 lines (39 loc) · 3.19 KB

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