Specify Node Variations with .nvmrc

0
22

I’ve closely promoted nvm, a Node.js model supervisor, over time. Having a device to handle a number of variations of a language interpreter has been so helpful, particularly because of the complexity of Node.js package deal administration.

One tip I like to present new builders is including a .nvmrc file to their repositories. The file contents is only a easy string representing the model of Node.js the challenge requires:

v16

A challenge with this .nvmrc is specifying that Node.js v16 needs to be used. Any developer might then run nvm use to obtain, set up, and swap to that model. A nvm set up name would then set up dependencies in step with that model.

  • 5 HTML5 APIs You Didn’t Know Existed

    Once you say or learn “HTML5”, you half count on unique dancers and unicorns to stroll into the room to the tune of “I am Attractive and I Know It.”  Are you able to blame us although?  We watched the elemental APIs stagnate for thus lengthy {that a} fundamental characteristic…

  • How to Create a RetroPie on Raspberry Pi – Graphical Guide

    At this time we get to play superb video games on our tremendous powered recreation consoles, PCs, VR headsets, and even cellular gadgets.  Whereas I take pleasure in taking part in new video games as of late, I do lengthy for the retro gaming programs I had once I was a child: the unique Nintendo…


LEAVE A REPLY

Please enter your comment!
Please enter your name here