README
term-ng-argv
argv handling for termng
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
.