Category: Nodejs


Understanding nodejs module exports and require

Nodejs allows you to write modular code by dividing your business logic into single purpose files called modules. When you are new to nodejs, it can sometimes be difficult to understand what is happening...


Creating a simple event emitter using nodejs

Nodejs lets you convert any object into an event emitter by simply extending one of its classes.As far as front end is concerned, frameworks like Flux are designed around the fact that the unit...