site-panzai/node_modules/is-in-ssh/index.d.ts

16 lines
227 B
TypeScript
Raw Normal View History

2026-11-13 13:57:04 +01:00
/**
Check if the process is running in an SSH session.
@example
```
import isInSsh from 'is-in-ssh';
if (isInSsh) {
console.log('Running in an SSH session');
}
```
*/
declare const isInSsh: boolean;
export default isInSsh;