There are many packages for filling your Node.js terminal programs with pretty colors. chalk is by far the most popular, but it may be too heavy for simple use cases. You may find some of these alternatives to be useful:

Read More

The official npm API provides a simple way to programmatically retrieve the latest version of any package, along with other metadata you might find in the package.json. This has a variety of use cases, such as checking when a package is out of date, to name one example. Today I’ll demonstrate how to get the latest version of a package with only a few lines of code. However, I was frustrated with what I found in other solutions, so I also want to talk about those and why you shouldn’t use them.

Read More

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now