Skip to content

Analyse TypeScript AST and display all namespace declarations and usages as a Treemap

Notifications You must be signed in to change notification settings

benedikt-roth/visualise-namespace-references

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visualise TypeScript namespace references

Goal

Visualise namespace usage within a monorepo.

Approach

Scan file by file and output found references.

CLI usage

npm run start -- --include <glob pattern>

Problems

  • How to identify namespace TypeReferences from object accessors?
    • Idea: Exclude imports within file ✅
  • How can global declarations (e.g. 3rd party libs and browser APIs) be ignored?
    • Specify a global ignore list ⚠️

About

Analyse TypeScript AST and display all namespace declarations and usages as a Treemap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published