New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

guess-terminal

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

guess-terminal

Guess the current terminal emulator

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
320
decreased by-79.99%
Maintainers
1
Weekly downloads
 
Created
Source

Guess the current terminal emulator program

guess-terminal

Installation

npm install guess-terminal

Usage

const {guessTerminal} = require('guess-terminal');

switch (guessTerminal()) {
    case 'iterm2':
    case 'hyper':
        console.log('Supports images');
    case 'terminal':
    default:
        console.log('No image support');
}

License

Copyright 2017. guess-terminal is released under the MIT license.

Development

yarn
yarn test --watch

Release

yarn test
yarn build
yarn publish

Keywords

FAQs

Package last updated on 25 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc