craigbeck.lab67.me

Posts in "node"

Lerna

Lerna is a tool that optimizes the workflow around managing multi-package repositories with git and npm.

I just started using this and I’m sold. I’ve found while I often like the idea of splitting a codebase into multiple packages, there’s significant overhead of releasing, managing multiple repos, package registries etc. required. Lerna makes this so much simpler to ease into by managing multiple packages (that can be published independently if that’s your thing) under a single mono-repository. So with this I can properly split my code into sane packages without going insane trying to manage it all.

Understanding the Node.js Event Loop

This article helps you to understand how the Node.js event loop works, and how you can leverage it to build fast applications. We’ll also discuss the most common problems you might encounter, and the solutions for them.

Good article that describes how Node.js handles asynchronous operations including geting into microtasks and macrotasks as well as how they relate to the more common promise, process.nextTick(), and setTimeout() calls relate.