Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

npm downgrade package

npm view <package> versions // lets see what versions of package are available
npm install <package>@<version> // install desired version. Remember about flags which maybe you want to use (eg. -g for global)

// example for package 'express'
npm install express@4.17.1
 
PREVIOUS NEXT
Tagged: #npm #downgrade #package
ADD COMMENT
Topic
Name
5+8 =