As I’ve proven you up to now, nvm
a superb utility for switching between Node.js variations. Whether or not your host machine or CI, constructing and testing your apps on completely different Node variations is a necessity. I’ve not too long ago discovered a number of nvm
instructions that I discovered actually helpful throughout native growth.
To set a default node model in your machine, with out touching your system’s set up, you should utilize:
nvm alias default [version_here]
To robotically swap to the node model that most accurately fits a undertaking’s package deal.json
file, merely kind:
nvm use
I’ve all the time beloved nvm
however I nonetheless catch myself manually altering variations once I may automate that course of with a number of instructions!
Being a Dev Dad
I get requested a great deal of questions day-after-day however I am all the time stunned that they are not often questions on code and even tech — most of the questions I get are extra about non-dev stuff like what my workplace is like, what software program I exploit, and oftentimes…
9 Thoughts-Blowing Canvas Demos
The
<canvas>
aspect has been a revelation for the visible specialists amongst our ranks. Canvas supplies the means for unimaginable and environment friendly animations with the added bonus of no Flash; these builders can flash their superior JavaScript expertise as a substitute. Listed here are 9 unbelievable canvas demos that…
Disable Autocomplete, Autocapitalize, and Autocorrect
Cell and desktop browser distributors do their greatest to assist us not appear to be idiots by offering us autocomplete, autocorrect, and autocapitalize options. Sadly these options can generally get in the best way; we do not all the time need or want the assistance they supply. Fortunately most browsers enable…
Source link