Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to "npm install" only when the package being installed is not current

Tags:

npm

How can I make so npm install package will only install the package if there is a newer package in the npm registry.

I mean that it won't even check the dependencies but only the main package I want.

like image 671
Amit Apple Avatar asked Dec 13 '12 21:12

Amit Apple


Video Answer


1 Answers

npm update package should do this.

like image 71
jeremy Avatar answered Oct 24 '22 12:10

jeremy