https://github.com/bryantee/import-catalog
Easily see an inventory of destructured imports from specific packages in your codebase
https://github.com/bryantee/import-catalog
Last synced: 5 months ago
JSON representation
Easily see an inventory of destructured imports from specific packages in your codebase
- Host: GitHub
- URL: https://github.com/bryantee/import-catalog
- Owner: bryantee
- Created: 2022-05-04T22:20:35.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-01T00:27:40.000Z (almost 4 years ago)
- Last Synced: 2025-09-07T04:38:33.965Z (9 months ago)
- Language: TypeScript
- Size: 255 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# import-catalog
> A simple CLI that easily lets you see an inventory of destructured imports from specific packages in your codebase.
Currently, the CLI only reports the number of times a member was imported from a module. It only detects import statements and also only registers exported members if using destructure syntax.

## Usage
Basic
```shell
$ npx import-catalog --packageName=@foo/bar --patterns="src/**/*.tsx"
```
For more information
```shell
$ npx import-catalog --help
```
## Todo
- [] Add support for non-destructured imports
- [] Add flags to reveal more data in catalog