Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1023 Bytes

README.md

File metadata and controls

29 lines (25 loc) · 1023 Bytes

ts-dead-exports

The solution to checking for dead TS (TypeScript) exports by an all repo.

Analyzed Solutions

The author has analyzed the following solutions before the solution creation:

  1. https://www.npmjs.com/package/ts-unused-exports;
  2. https://www.npmjs.com/package/ts-prune;
  3. https://www.npmjs.com/package/tsr;
  4. "Unused Exports…" (VS Code plugin).

The main minuses of solutions above:

  1. redundant information in a report;
  2. ignoring types using as name spaces part.

Realized and Planned Features

  1. (DONE) searching by one module.
  2. (DONE) searching by one type.
  3. (DONE) modules written in TSX support.
  4. (DONE) finding using types without name spaces.
  5. Finding using types with name spaces.
  6. Searching by few modules.
  7. Searching by few types.
  8. Modules written in TS support.
  9. Output by all paths with dead types.
  10. Output by all dead types with its names.
  11. Auto detection of directories.
  12. Flexible logging support.
  13. Recursion usage to delete restriction of searching levels.