detective is a fast, lightweight JavaScript module for statically analyzing JavaScript code to find all require() calls. It's dependency-free and works with ES5 through ES2020+. This tool is ideal for build systems, code analysis tools, and dependency management utilities. It efficiently extracts required module names, making dependency identification in JavaScript projects straightforward. Provides a simple API and works reliably across a wide range of JavaScript codebases.