remove unused dependencies? Importance?

Just wondering if unused dependencies (in package.json) effect anything other than install time (and potentially deployment-time)?

i'm taking a course, they provided some starter code - there was an unused dependency - I asked if i should remove it, they said "if you want" - so i'm trying to find out!
Was this page helpful?