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.5.3 and winston 2.4.1.
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 fewer dependencies.
log4js has been out there for longer (since 6 years ago), it also has fewer open issues and fewer 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,173,921 points, log4js got 2,899,495 points and winston got 4,866,140 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||4 days ago||18 days ago||10 hours ago|
|version average||every 21 days||every a month||every 2 months|
|open pull requests||30||12||17|
|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|