Thursday, June 13, 2019

As for working with legacy FE code base (AngularJs) there is almost always some need to use older node versions. Nice way for that is just install nvm, using directly from curl https://github.com/nvm-sh/nvm sometimes doesn't work. But installations using brew works like a charm.
Some information can be found here: https://michael-kuehnel.de/node.js/2015/09/08/using-vm-to-switch-node-versions.html

Tuesday, June 11, 2019

As for my favorite editor for coding, for some years now I used VS Code and seems like in many ways this is the 'de facto' must editor for the Front-End. So time to time I'll post some tips on how to use it right. First things first install it to you Mac's .bash_profile with this:
https://code.visualstudio.com/docs/setup/mac

After that you can use it as normal editor.
Run for example:
$>npm audit >> ~/NPM.report.txt
$>code ~/NPM.report.txt
And here it is you own npm report in you lovely code.