I see that with iTerm 2, but using Terminal gives me a very different experience.
Here's a side-by-side: https://youtu.be/odoVfHHBYVM
Until recently, I had no clue iTerm was doing something weird. I just figured npm install was just ugly and incomprehensible.