is-in-ssh
npmv1.0.0TypeScriptCheck if the process is running in an SSH session
Overview
is-in-ssh is an npm package that check if the process is running in an SSH session. It is extremely widely used, with about 15.7M downloads per week and 1 known dependents in the graph. The latest version is 1.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need check if the process is running in an SSH session and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (15.7M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Lean dependency tree (1 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of is-in-ssh.
Dependencies
Dev (1)
Used by
Popular packages that depend on is-in-ssh.
Alternatives to is-in-ssh
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Check if something is a generator function
Check if the process is running inside a container (Docker/Podman)
Check if the process is running inside a Docker container
Check if argv has a specific flag
Detect whether a terminal supports hyperlinks
Check if a value is a plain object
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
Returns true if a string has an extglob.
Get details about the current Continuous Integration environment
Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.
Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST
Frequently installed together
TypeScript definitions for node
Define a lazily evaluated property on an object
Utilities for working with Windows Subsystem for Linux (WSL)
Get the default browser
Check if the process is running inside a container (Docker/Podman)
Version history
| Version | Published | License |
|---|---|---|
| 1.0.0latest | 8 months ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install is-in-ssh?
Run `npm install is-in-ssh` to add is-in-ssh to your npm project.
What license is is-in-ssh released under?
is-in-ssh is distributed under the MIT license.
How popular is is-in-ssh?
is-in-ssh has approximately 15,672,356 downloads per week and 1 known dependent packages.