Compare

Comparing bunyan vs. log4js vs. winston

How are they different?

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 3.0.0 and winston 3.0.0.

bunyan, a JSON logging library for node.js services. It was authored by Trent Mick on Feb, 2012.
log4js, Port of Log4js to work with node. It was authored by Gareth Jones on Jan, 2011.
winston, A logger for just about everything. It was authored by Charlie Robbins on Jan, 2011.

bunyan has more versions and more frequent updates.
log4js has been out there for longer (since 6 years ago), it also has fewer open pull requests.
winston has a bigger community of maintainers, more daily downloads, more weekly downloads and more monthly downloads.

In our review bunyan got 1,447,288 points, log4js got 3,024,692 points and winston got 5,468,227 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.

Going into more detail

 

bunyan
1.8.12
NPM

log4js
3.0.0
NPM

winston
3.0.0
NPM

description a JSON logging library for node.js services Port of Log4js to work with node. A logger for just about everything.
keywords log, logging, log4j, json, bunyan logging, log, log4j, node winston, logger, logging, logs, sysadmin, bunyan, pino, loglevel, tools, json, stream
author Trent Mick Gareth Jones Charlie Robbins
Related / similar packages
morgan, debug, pino morgan, debug, pino morgan, debug, pino
Comparison
licenses MIT Apache-2.0 MIT
created 6 years ago (Feb, 2012) 8 years ago (Jan, 2011) 7 years ago (Jan, 2011)
modified 4 months ago a day ago a month ago
total versions 106 103 54
version average every 22 days every a month every 2 months
maintainers 1 1 6
dependencies 4 4 9
Daily Downloads 58,526 60,096 121,065
Weekly Downloads 579,903 1,196,070 2,286,290
Monthly Downloads 2,241,357 4,784,053 8,527,358
open issues 222 50 0
open pull requests 30 6 14
stargazers 5,213 3,282 0
subscribers 116 124 0
forks 436 561 0
wiki
Points
Overall points

1,447,288

Points

3,024,692

Points

5,468,227

Points
CLI Shortcuts
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

Share this with other developers

store