404

[ Avaa Bypassed ]




Upload:

Command:

botdev@13.59.225.66: ~ $
/// <reference types="node"/>

declare namespace isInteractive {
	interface Options {
		/**
		The stream to check.

		@default process.stdout
		*/
		readonly stream?: NodeJS.WritableStream;
	}
}

/**
Check if stdout or stderr is [interactive](https://unix.stackexchange.com/a/43389/7678).

It checks that the stream is [TTY](https://jameshfisher.com/2017/12/09/what-is-a-tty/), not a dumb terminal, and not running in a CI.

This can be useful to decide whether to present interactive UI or animations in the terminal.

@example
```
import isInteractive = require('is-interactive');

isInteractive();
//=> true
```
*/
declare function isInteractive(options?: isInteractive.Options): boolean;

export = isInteractive;

Filemanager

Name Type Size Permission Actions
index.d.ts File 717 B 0644
index.js File 180 B 0644
license File 1.08 KB 0644
package.json File 635 B 0644
readme.md File 1.93 KB 0644