{"library":"detective-amd","type":"library","category":null,"description":"detective-amd is a JavaScript utility for statically analyzing JavaScript files or Abstract Syntax Trees (ASTs) to identify dependencies declared using various AMD (Asynchronous Module Definition) module syntaxes. It supports the four core AMD forms ('named', 'dependency list', 'factory', 'no dependencies'), as well as 'driver script' (`require([deps], func)`) and CommonJS-like 'REM' forms (`define(function(require, exports, module) {})`). The package also handles dynamically loaded dependencies and JSX code through `node-source-walk`. The current stable version is 6.0.1. While not on a fixed release schedule, it sees updates to maintain compatibility with modern Node.js versions and dependencies, with major versions primarily driven by Node.js LTS support drops. Its key differentiator is its specialized focus on AMD syntax, offering a robust solution for environments still leveraging RequireJS or similar AMD loaders, distinguishing it from general-purpose CommonJS or ESM dependency analysis tools.","language":"javascript","status":"active","version":"6.0.1","tags":["javascript","amd","detective","dependencies","ast","static analysis","requirejs","jsx","module"],"last_verified":"Wed May 27","install":[{"cmd":"npm install detective-amd","imports":["const detective = require('detective-amd');","const detective = require('detective-amd');","const detective = await import('detective-amd');"]},{"cmd":"yarn add detective-amd","imports":[]},{"cmd":"pnpm add detective-amd","imports":[]}],"homepage":null,"github":"https://github.com/dependents/node-detective-amd","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/detective-amd","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/detective-amd/compatibility"}}