An important and fundamental pattern used in Node.js is the observer pattern. Together with reactors, callbacks, and modules, this is one of the pillars of the platform and an absolute prerequisite for using many node-core and userland modules.
In this video, we will learn the implementation of observer design patterns in javascript with a very basic example. Hope this video will give you a basic understanding of this design pattern.