# detective

> find all require() calls by walking the AST

Latest version **5.2.1** (published 2022-05-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install detective
pnpm add detective
yarn add detective
bun add detective
```

Provides the command `detective`.

## Health

**Score 18/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.2.1 |
| Published | 2022-05-27 |
| First published | 2011-06-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/detective) |
| Module format | CommonJS |
| Node | >=0.8.0 |
| Dependencies | 3 |
| Unpacked size | 20.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 414 |
| Author | James Halliday |
| Maintainers | substack, feross, gkatsev, zertosh, mafintosh, maxogden, thlorenz, terinjokes, jmm, mellowmelon, ashaffer88, balupton, cwmma, jprichardson, indutny, jryans, sethvincent, yoshuawuyts, ungoldman, ahdinosaur, elnounch, parshap, yerkopalma, forbeslindesay, leichtgewicht, garann, bret, anandthakker, mattdesl, hughsk, fpereira1, goto-bus-stop, bpostlethwaite, emilbayes, stevemao, pkrumins, tehshrike, defunctzombie, lukechilds, raynos |
| Keywords | analyze, ast, require, source |

## Links

- npm: https://www.npmjs.com/package/detective
- Repository: https://github.com/browserify/detective
- Homepage: https://github.com/browserify/detective#readme
- Issues: https://github.com/browserify/detective/issues
- npm.io page: https://npm.io/package/detective

## Dependencies (3)

- [defined](https://npm.io/package/defined.md) ^1.0.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.6
- [acorn-node](https://npm.io/package/acorn-node.md) ^1.8.2

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 5.2.1 (latest) — 2022-05-27
- 5.2.0 — 2019-01-28
- 5.1.0 — 2018-02-28
- 5.0.2 — 2018-01-06
- 5.0.1 — 2018-01-02
- 5.0.0 — 2018-01-02
- 4.7.1 — 2017-12-21
- 4.7.0 — 2017-12-01
- 4.6.0 — 2017-11-26
- 4.5.0 — 2017-03-01
- 4.4.0 — 2017-03-01
- 4.3.2 — 2016-10-22
- 4.3.1 — 2015-11-01
- 4.3.0 — 2015-11-01
- 4.2.0 — 2015-08-20
- … 26 more at https://npm.io/package/detective/versions

---
_Source: https://npm.io/package/detective · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
