Import Holmes is a tool to inspect projects imports.
- TypeScript
- JavaScript
- Kotlin
Warning this tool isn't in a stable version and can change at any moment, check issues page to check futures features and current problems
brew install pmqueiroz/tap/import-holmes| Options | Default | Meaning | Example |
|---|---|---|---|
-m, --module |
ts/js: package.json.dependencies kt: * |
Filter inspection by module's name | -m a,b |
-s, --specifiers |
- | Filter inspection by specifiers name | -s Button,Text |
-g, --glob |
ts/js: **/*.{ts,tsx} kt: **/*.kt |
Glob to select files to inspect | -g components/*.{js} |
-o, --output |
table |
Configure the output type | -o json -o csv |
--sort |
none |
Sort the output by ocurrences or referenced |
--sort referenced |
--language |
typescript |
Select which language parser use | --language kotlin |
For better configuring you can also set a config file named .holmesrc.json following this pattern:
Made with ❤️ by Peam

