Here we compare between bunyan, log4js and winston. In this comparison we will focus on the latest versions of those packages. The current versions are bunyan 1.8.12, log4js 2.3.7 and winston 2.4.0.
a JSON logging library for node.js services.
It was authored
on Feb, 2012.
log4js, Port of Log4js to work with node. It was authored by Gareth Jones on Jan, 2011.
winston, A multi-transport async logging library for Node.js. It was authored by Charlie Robbins on Jan, 2011.
When comparing those packages you notice that
winston is the more popular package today
Stars on Github).
bunyan has more versions, more frequent updates and less dependencies.
log4js has been out there for longer (since 6 years ago), it also has less open issues and less open pull requests.
winston has a bigger community of maintainers, more daily downloads, more weekly downloads, more monthly downloads, more stars on Github, more followers on Github and more forks.
In our review bunyan got 1,169,558 points, log4js got 2,157,212 points and winston got 4,064,380 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 those packages.
|description||a JSON logging library for node.js services||Port of Log4js to work with node.||A multi-transport async logging library for Node.js|
|keywords||log, logging, log4j, json, bunyan||logging, log, log4j, node||winston, logging, sysadmin, tools|
|author||Trent Mick||Gareth Jones||Charlie Robbins|
|Related / similar packages|
|morgan, debug, scribe||morgan, debug, scribe||morgan, debug, scribe|
|created||6 years ago (Feb, 2012)||7 years ago (Jan, 2011)||7 years ago (Jan, 2011)|
|modified||21 days ago||4 days ago||5 hours ago|
|version average||every 20 days||every a month||every 2 months|
|open pull requests||30||8||23|
|install||npm i -S bunyan||npm i -S log4js||npm i -S winston|
|remove||npm r -S bunyan||npm r -S log4js||npm r -S winston|