install a previous version of an npm package (NodeJS)
When we need to downgrade our package for using a stable version. We can follow this:
npm install <package>@<version>
If the version you are trying to install is not valid, terminal will show a bunch of valid version for you to choose.
npm install @firstname.lastname@example.org
Also, we can use
-S to add it to the package.json dependencies
npm install @email@example.com --save npm install -S @firstname.lastname@example.org