npm

Need private packages and team management tools?Check out npm Orgs. »

@thebespokepixel/term-ng-argv

0.2.0 • Public • Published

term-ng-argv

argv handling for termng

Build Status Dependency Status devDependency Status
Project status npm Status XO code style Chat on Gitter

TermNG argv handling

Used by term-ng to whitelist 24bit capable terminals. In a module so that it can be loaded prior to the 'supports-color' module to allow direct manipulation of process.argv.

Usage

  > npm install --save term-ng-argv
  // es2015/es6
  import {has16m} from 'term-ng-argv'
 
  // es5
  const has16m = require('term-ng-argv').has16m

has16m will be true if you're running iTerm2 v3.0.0 or if the environment variable TERM_COLOR is set to 16m.

install

npm i @thebespokepixel/term-ng-argv

Downloadsweekly downloads

1

version

0.2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability