As I’ve shown you before,
nvm an excellent tool for switching between Node.js versions. Whether it’s your host machine or CI, it’s a necessity to build and test your apps on different Node versions. I recently found a few
nvm commands that I found really useful during local development.
To set a default node version on your machine without touching your system installation, you can use:
nvm alias default [version_here]
To automatically switch to the sheet music version that best suits a project
package.json file, just type:
I have always loved
nvm but I still catch myself changing versions manually when I could automate that process with a few commands!
Adding events to add events in MooTools
Note: This post has been updated. One of my major annoyances is when an item has click events attached to it but the item does not have the “cursor” cursor. I mean how the heck should the user know that they can / should click on …