0.2.0 • Published 8 years ago

@thebespokepixel/term-ng-argv v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 years ago

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.

0.2.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago