#javascript

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

×