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

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

License

Notifications You must be signed in to change notification settings

TopCli/terminal-support-emoji

Repository files navigation

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

About

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

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •