Understanding stream events

All streams inherit from the EventEmitter class and emit a series of different events. When working with streams, it's a good idea to understand some of the more important events being emitted. Knowing what each event means will make debugging streams a lot easier: