downgrade node package code example
Example 1: downgrade npm package to specific version
npm install -g npm@version-no
Example 2: npm downgrade package
npm view versions // lets see what versions of package are available
npm install @ // install desired version. Remember about flags which maybe you want to use (eg. -g for global)
// example for package 'express'
npm install [email protected]
Example 3: how to downgrade node version
$ npm install -g n
$ n 6.10.3