Package
agent-cli-detector
Detect whether a JavaScript CLI is running inside a coding agent.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 4.3m
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 month ago
- v0.1.7
- GitHub stars
- 4
- 3 forks
- Open issues / PRs
- 0 / 1
- Contributors
- -
- Commits, last 52 weeks
- 22
Downloads
Last week 2026-09-15 to 2026-09-21
4,302,262 downloads last week, 18,895,402 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- 88 in total
- Latest version
- 0.1.7, 24 Aug 20261 month ago
- First published
- 23 Jun 2026
- Last push to GitHub
- 24 Sept 2026same day as the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 1
- Commits, last 52 weeks
- 22
- Dependents on npm
- 4
Major versions
- v0 first release 0.1.0, 23 Jun 2026
Recent releases
| Version | Published |
|---|---|
| 0.1.7 | 24 Aug 2026 |
| 0.1.6 | 17 Aug 2026 |
| 0.1.5 | 4 Aug 2026 |
| 0.1.4 | 18 Jul 2026 |
| 0.1.3 | 17 Jul 2026 |
| 0.1.2 | 26 Jun 2026 |
| 0.1.1 | 26 Jun 2026 |
| 0.1.0 | 23 Jun 2026 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=18.18
- Runtimes
- -
- Unpacked size (npm)
- 122 kB
- Dependencies (0)
- None
npm install agent-cli-detector- jsDelivr
https://cdn.jsdelivr.net/npm/agent-cli-detector@0.1.7/ - unpkg
https://unpkg.com/agent-cli-detector@0.1.7/ - esm.sh
https://esm.sh/agent-cli-detector@0.1.7
Indexability: Indexed.