Keep your Node.js app running in the background using PM2

Get started with the basics of PM2 and learn how to run your Node.js apps in the background using Node.js process manager PM2. PM2 is a daemon process manager that will help you manage and keep your Node.js application online 24/7. It’s a production grade process manager that let’s your node.js applications run in the background as microservices. PM2 … Read more

Remove unused npm modules from package.json

Depcheck is a tool for analyzing the dependencies in a project to see: how each dependency is used, which dependencies are useless, and which dependencies are unused from package.json. To identify the unused package, just run npx depcheck in the project root directory Next step is to uninstall the npm packages using npm uninstall command. 

How to uninstall npm modules in node.js?

In this small post, find out how to uninstall npm packages from a node.js project or globally. Any npm package can be installed easily using the npm installcommand. But most of the times we ignore the installed package and forget about them. How do we uninstall npm modules? Read on. Syntax The syntax to uninstall npm … Read more