</>PackageGraphPackageGraph

agent-cli-detector

npmv0.1.4TypeScript

Detect whether a JavaScript CLI is running inside a coding agent.

1.4M
Weekly downloads
1
Dependents
3
Dependencies
76/100
Popularity

Overview

agent-cli-detector is an npm package that detect whether a JavaScript CLI is running inside a coding agent. It is very popular, with about 1.4M downloads per week and 1 known dependents in the graph. The latest version is 0.1.4, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need detect whether a JavaScript CLI is running inside a coding agent 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 (1.4M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).
  • Lean dependency tree (3 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 agent-cli-detector.

@expo/cliagent-cli-detector
agent-cli-detector dependencies dependents

Dependencies

Dev (3)

@types/node ^24.0.4tsup ^8.5.0typescript ^5.8.3

Used by

Popular packages that depend on agent-cli-detector.

Alternatives to agent-cli-detector

Frequently installed together

Version history

VersionPublishedLicense
0.1.4latest2 days agoMIT
0.1.33 days agoMIT
0.1.224 days agoMIT
0.1.125 days agoMIT
0.1.027 days agoMIT

Maintainers

Keywords

Frequently asked questions

How do I install agent-cli-detector?

Run `npm install agent-cli-detector` to add agent-cli-detector to your npm project.

What license is agent-cli-detector released under?

agent-cli-detector is distributed under the MIT license.

How popular is agent-cli-detector?

agent-cli-detector has approximately 1,422,165 downloads per week and 1 known dependent packages.