DEV Community

Discussion on: Node.js : Locking modules to specific versions

Collapse
 
jamesthomson profile image
James Thomson

Hi Rajesh, how is this different/better than specifying the version when you install? e.g. npm install packagename@1.0.0

Collapse
 
rajeshkumaryadavdotcom profile image
RajeshKumarYadav.com

You can use this as an alternative by defining packagename@version but the way I explained you need not have to run npm install for every package manually.