How to install specific version of npm package?

Javascript on MoreOnFew.com

As you might already know, there are a large number of npm packages released every day. An equally large number of updates too get released on the npm registry. While we would like to keep the dependencies in package.json updated to the latest version most of the time, there are still times when we would … Read more

Know the difference between tilde and caret in package.json

Javascript on MoreOnFew.com

Most of us might have wondered what does the tilde (~) and caret (^) prefixing the version number of the “dependencies” in your package.json file mean. Well, it is important to know the difference between tilde and caret in package.json as the wrong usage can even break your project. Understanding the usage of tilde (~) … Read more

How to remove npm package from a project?

Javascript on MoreOnFew.com

NPM or Node Package Manager has made it really easy to install and manage packages in JavaScript projects. The number of packages available on npm has been on an increase and it has become very convenient to install a package in a project using npm. However, over time, it becomes important to remove npm package … Read more

How to find outdated packages in npm?

Javascript on MoreOnFew.com

NPM as a package manager has been a very useful tool in web development. Using npm has made it very convenient for us to add various packages to our web development projects. However, like with other software, our npm packages too get outdated either because a new feature has been introduced, the code has been … Read more

How to find unused dependencies in npm?

Javascript on MoreOnFew.com

NPM has become the most popular package manager over time. It is really helpful and useful to manage the package dependencies of your project. However, over time, as your project keeps growing and new packages get released, there are times when we move on to a better alternative of a package or even stop using … Read more

How to set proxy using npm config in NodeJs?

Javascript on MoreOnFew.com

While working with NodeJs you’ll notice that many times you might not be able to install or update while working behind a proxy network like the corporate web proxy of your office etc. Basically, you might notice that the commands like npm install is not working. However, this can be easily fixed by setting the … Read more