// package
is-in-ssh
type: "module"
// preferences
// replacements (1)
snippet::is-in-ssh
Simple or drop-in replacementThis package is no longer necessary. You can check if the current environment is SSH by checking if the `SSH_CONNECTION` environment variable is set.
// example
const isInSsh = Boolean(
process.env.SSH_CONNECTION,
);