AnonSec Team
Server IP : 161.35.85.9  /  Your IP : 216.73.217.134
Web Server : nginx/1.30.1
System : Linux cheapdeb-ams3 7.0.9+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 7.0.9-1 (2026-05-22) x86_64
User : root ( 0)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/wordpress/../nodejs/is-interactive/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /usr/share/wordpress/../nodejs/is-interactive/index.d.ts
export 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 from 'is-interactive';

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

AnonSec - 2021