agent-cli-detector
npmv0.1.4TypeScriptDetect whether a JavaScript CLI is running inside a coding agent.
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.
Dependencies
Dev (3)
Used by
Popular packages that depend on agent-cli-detector.
Alternatives to agent-cli-detector
Turn a function into an `http.Agent` instance
An HTTP(s) proxy `http.Agent` implementation for HTTPS
Elegant terminal spinner
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
Lightweight browser detector
Flexible ascii progress bar
The Expo CLI
Parse CLI arguments.
the mighty option parser used by yargs
Parse yes/no like values
The tiniest and the fastest library for terminal output formatting with ANSI colors
the complete solution for node.js command-line programs
Frequently installed together
The Expo SDK
Expo Router is a file-based router for React Native and web applications.
The semantic version parser used by npm.
Lightweight debugging utility for Node.js and the browser
the most correct and second fastest glob implementation in JavaScript
Resolve the path of a module like `require.resolve()` but from a given path
Higher-level content negotiation
Better streaming static file server with Range and conditional-GET support
Get details about the current Continuous Integration environment
Elegant terminal spinner
TypeScript definitions for ws
Flexible ascii progress bar
Version history
| Version | Published | License |
|---|---|---|
| 0.1.4latest | 2 days ago | MIT |
| 0.1.3 | 3 days ago | MIT |
| 0.1.2 | 24 days ago | MIT |
| 0.1.1 | 25 days ago | MIT |
| 0.1.0 | 27 days ago | MIT |
Maintainers
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.