Over 43,000 dormant spam packages flooded npm in a coordinated two-year campaign Some packages contained worm-like scripts ...
I'll walk you through two methods for handling this essential task, plus a third way that achieves total annihilation.