degrate js npm command code example
Example 1: downgrade npm package to specific version
npm install -g npm@version-no
Example 2: how to downgrade node version
$ npm install -g n
$ n 6.10.3
npm install -g npm@version-no
$ npm install -g n
$ n 6.10.3