Every long-lived JS/TS project I've worked on accumulates the same three kinds of rot:



Dependencies in package.json that nothing imports anymore. You added moment, migrated off it, and the line stayed.

Exports nothing consumes. A function was public once, the last caller was deleted, the export is still there advertising an API with no...