Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

macos-app-config

marionebl65.6kMIT1.0.1TypeScript support: included

Get the current configuration of a macOS application

terminal, emulator, detection

readme

Get the configuration for macOS applications

macos-app-config

Installation

npm install macos-app-config

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