</>PackageGraphPackageGraph

is-in-ssh

npmv1.0.0TypeScript

Check if the process is running in an SSH session

Safe to adopt

Yes — is-in-ssh scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 301 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • BMaintenance: grade B, Good.

    Last published 301 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 3.5 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding is-in-ssh to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

3.5 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >=20
Module format
ESM only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the is-in-ssh README.

import isInSsh from 'is-in-ssh';

if (isInSsh) {
	console.log('Running in an SSH session');
}

is-in-ssh vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
is-in-sshthis page01MIT10 months ago
is-wsl117.6M4MIT1 day ago
is-generator-fn01MIT1 day ago
is-docker02MIT1 day ago
is-inside-container02MIT1 day ago
has-flag166.9M1MIT1 day ago

Dependencies

Declared by is-in-ssh v1.0.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (1)

xo ^1.2.3

Used by

Popular packages that depend on is-in-ssh.

Relationship graph

Dependencies (left) and dependents (right) of is-in-ssh.

openis-in-ssh
is-in-ssh dependencies dependents

Frequently installed together

Release history

1 release in the last two years.

Recent versions of is-in-ssh
VersionPublishedSizeLicense
1.0.0latest10 months ago3.5 KBMIT

Overview

is-in-ssh is an npm package that check if the process is running in an SSH session. It has 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 focused 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

  • 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.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use is-in-ssh?

Yes — is-in-ssh scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 301 days ago.

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?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on is-in-ssh.

Is is-in-ssh still maintained?

The most recent release of is-in-ssh (v1.0.0) was published 10 months ago.

Does is-in-ssh run install scripts?

No. is-in-ssh does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.