Skip to content

Author: jeroen

Flexible Javascript arguments, like Python’s *args

When I started working with Python, *args was very handy and I started to miss it in my Javascript projects. Only recently, I found out you can get an arguments object of the function's arguments like this: Read More »

Automatically switch node versions between projects

At my day job we work with Node 12 for our projects, but I wanted to check out NuxtJS 3, which requires version 14 or 16. Once I updated npm, I found out me old projects no longer worked properly. Reinstalling node_modules didn't solve the problem, and besided, I didn't want to saddle up my colleagues with version incompatibilities I couldn't detect myself. So, I looked into finding a solution. And found one! Read More »