Structure JavaScript Code Using Modules

Introduction Most people (including myself) start out writing JavaScript code by adding function after function into a .js or HTML file. This can get job done but same time can quickly get out of control when working with a lot of code. Without having proper structure, maintaining such code bases, can be a nightmare and … Read more

JavaScript Module System

Separate and Abstract code in its own scope, making it accessible and included again! That’s the thing which JavaScript module systems help us to achieve. JavaScript applications tend to grow fast and without any kind of structure in-place, it would be very hard to keep a cleaner code-base. Traditionally different techniques like IIFE, Revealing Module … Read more