Node Js events module has only one class to handle events which is EventEmitter class. It contains all required functions to take care of generating events. All objects that emit events are instances of the EventEmitter class. You might already know about many Node library events like "on data", "on end", "on error", etc. we can say these Node libraries extend EventEmitter. EventEmitter Responsibility EventEmitter class is responsible to generate events. Generating events is also known as Emitting. That's why this class is named as EventEmitter. We can understand this Process through the given Diagram var EventEmitter = require('events').EventEmitter; var light =...