Skip to content

Easily see an inventory of destructured imports from specific packages in your codebase

Notifications You must be signed in to change notification settings

bryantee/import-catalog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

screenshot

Usage

Basic

$ npx import-catalog --packageName=@foo/bar --patterns="src/**/*.tsx"

For more information

$ npx import-catalog --help

Todo

  • [] Add support for non-destructured imports
  • [] Add flags to reveal more data in catalog

About

Easily see an inventory of destructured imports from specific packages in your codebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published