How are they different?
Here we compare between forever and pm2. In this comparison we will focus on the latest versions of both packages. The current versions are forever 0.15.3 and pm2 2.4.1.
A simple CLI tool for ensuring that a given node script runs continuously (i.e. forever).
It was authored
on Dec, 2010.
pm2, Production process manager for Node.JS applications with a built-in load balancer. It was authored by Strzelewicz Alexandre on Jun, 2013.
When comparing both packages you notice that
pm2 is the more popular package today
Stars on Github).
forever has been out there for longer (since 6 years ago), it also has a bigger community of maintainers, less dependencies, more weekly downloads, more monthly downloads, less open issues and less open pull requests.
On the other hand, pm2 has more versions, more frequent updates, more daily downloads, more stars on Github, more followers on Github and more forks.
In our review forever got 482,665 points and pm2 got 354,424 points. The points are a summary of how big the community is and how well the package is maintained.
Lets dive deeper and have a look at some more details on both packages.