node.js

A 2-post collection

Multiple Versions of Node with n

What happens when a new version of node is released? What if you need version 0.10.36 for one app and 4.4.2 for another? Did you know version 6 is out now too? Yikes! it would be great if we could manage multiple versions of node on the same computer. Well, we can with n or nvm! These are 2 different tools that allow us to host multiple versions of node. We can use it to select which version to activate, and the toggle back to another version in seconds. They are super helpful. I prefer n, but it only works on a Mac. We can install it by running npm i -g n. Simply run n...


Get Up and Running With Node and Visual Studio

If you’ve decided to immerse yourself in modern web development with JavaScript libraries such as AngularJS, Bootstrap, React, or Knockout then you’ve undoubtedly heard of Bower, NPM, Grunt, Gulp, and Node somewhere along the way. If you’ve been meaning to learn them, then this post should help you get started. There are plenty of articles on the topic but I wanted to take a different approach to talk less about what node does and instead show you. So let’s use node to get an app up and running and then try it in Visual Studio. The Landscape Many developers have lived in their own stack for a long time, and very successfully...