Imports is a powerful dependency and import mapping tool designed for developers working with multi-language projects. It meticulously scans specified directories, identifying and mapping import statements and file interdependencies across 11 different programming languages including Go, Python, JavaScript/TypeScript, Rust, and Java. The tool generates structured JSON output, providing granular details on per-file imports with package names, types (stdlib, external, local, relative, system), and line numbers, alongside a reverse index mapping each package to its importing files, and a human-readable summary. This makes Imports invaluable for understanding the potential impact (blast radius) of code changes before undertaking refactoring efforts or architectural modifications.
Key Features
01Generates structured JSON output for comprehensive analysis
02Provides detailed per-file imports with package types and line numbers
03Includes a reverse index mapping packages to importing files
04Supports both MCP Server and standalone CLI usage
05Multi-language import and dependency scanning across 11 languages
060 GitHub stars