04 Oct JavaScript modules
Well well well. It seems I am long overdue for a blog post! I've been meaning to blog about a very special journey that I had the pleasure of embarking on, but I'm still in the middle of writing that post (stay tuned!). Instead, for now, I want to talk about npm modules.
I've recently been in the process of modularizing my JavaScript. As you may know, I have several JavaScript libraries on my [GitHub](https://github.com/mlcheng). I've always been a fan of modular code. It makes everything so much easier to read. However, I disliked modularizing JavaScript because of the unfriendly process it takes to even start. Purists like me may like the fact that ES6 `import`, `export`, and [destructuring](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment) exist. A module could easily be created:
continue reading