NodeJS
From Wildsong
Stuff I wish I had known a few weeks ago
package.json scripts
There about 20 predefined, the complete list and what they mean is here. Additionally if that's not enough you can define your own and use npm run scriptname.
Setting a browser
I usually use Chrome on Windows and Firefox on Mac. Instead of wiring a browser into my package.json 'start' command with "--open chrome", I now use just "--open" and let it pick. I can set the browser with
npm config set browser {chrome|firefox|lynx}
Reading docs
npm docs packagename
This jumps to a browser and opens the relevant site for packagename. For example, "npm docs react" opens https://reactjs.org. If you publish your own project as a package then it takes you to the npmjs.com site page.