Files
my_site/node_modules/is-in-ssh/index.d.ts
2026-03-24 14:30:59 +08:00

16 lines
227 B
TypeScript

/**
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;