Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 437 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 437 Bytes

Purge Party

Delete all unused imports from your project's javascript files!

Simply

  1. download the repo
  2. open the purge_party.rb file
  3. pass your javascript project's /src directory to the 'run' method
  4. invoke the script (effectively calling run), through ruby purge_party.rb

Note

  1. as for now, requires ruby 3+ (but you can easily reverse engineer the file by substituting _1's & _2's with named arguments)