Elestia Open Source Ratings
3.4

Bunyan

Keep, but not for new work. 9th of 9 logging libraries.

Bunyan was the first popular JSON logger for Node.js. It still works, but nobody has released it since January 2021 or committed to it since 2023. Pino uses the same model of child loggers and serializers, is faster, and is actively maintained. Keep Bunyan where it already runs, and pick Pino for new work.

Best for: Teams that already run Bunyan in Node.js services and want to keep it until they migrate.

GitHubnpm

Scores

Overall3.4

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 3.0, likely 2.0 to 4.0

It still works, but it has been unmaintained since 2021 and is losing share. Pino covers the same design with better speed, types and active upkeep. Keep it where it runs, but do not choose it for new projects.

GPT-6.2 Sol: 3.8, likely 2.7 to 4.9

Bunyan still does the core job and makes sense where existing services depend on its log format. Pino is the stronger choice for a new Node.js service because it is actively maintained, has built-in redaction, and performs better in Node.js benchmarks. The range allows for projects that prize compatibility with an existing logging pipeline.

Needed by many5.9

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Structured logging is needed by most backend developers. Bunyan serves only Node.js servers, not browsers or other runtimes, so it is narrower than the category.

GPT-6.2 Sol: 5.8, likely 4.7 to 7.0

Structured logs with levels are useful across Node.js services, and 46.4% of respondents to the 2026 Stack Overflow web technology question reported using Node.js. Bunyan primarily targets Node.js, with some documented browser bundler support and unresolved reports from users on the Next.js Edge Runtime. The survey measures runtime use, so the share of developers who need this kind of logger is an estimate.

Helps a lot5.7

How well does it do the job for those who need it?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

The core features are solid: JSON output, child loggers, serializers, streams and a CLI viewer. However, it has no built-in types or redaction, it is about 2.4x slower than Pino in one benchmark, and bugs stay unfixed. Pino does the same job better.

GPT-6.2 Sol: 6.3, likely 5.2 to 7.4

Stable 1.8.15 covers core structured logging with a documented API, child loggers, serializers, multiple streams, and a CLI. TypeScript declarations come separately, and field redaction takes custom code. An independent DEPT benchmark and a newer benchmark from LogTape both favor Pino on Node.js, though the performance gap depends on the workload.

Holds up over time2.2

Will it still be a good choice in two years?

Claude Opus 5.5: 2.0, likely 1.0 to 3.0

There were no commits or releases in the last year, and the last npm release was January 2021. The open issues (230) and open pull requests (60) outnumber the merged ones. One person owns the project, the ecosystem has moved to Pino, and it is not formally deprecated.

GPT-6.2 Sol: 2.3, likely 1.2 to 3.7

The last stable npm release was in January 2021, and GitHub recorded zero commits and 60 open pull requests. The repository remains open, but the 2.x line is still marked beta and users are still reporting issues against the stable release. Existing services may run it for years, but the long gap makes timely fixes hard to count on.

Used widely4.9

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Bunyan still gets about 22M downloads every 4 weeks and has 44k dependent repositories, but much of that comes from old code and transitive installs. Its download ratio of about 2.2 is well below the 4.1 median, so it is losing share. Pino and winston are far ahead.

  • npm downloadsLast4Weeks vs downloadsSame4WeeksYearAgo: 22.0M vs 10.2M, a ratio of about 2.2, below the 4.1 median.
  • dependents.repos: 44,385, vs 66k for Pino and 286k for winston.
  • bluesky / hackerNews: No current attention.

GPT-6.2 Sol: 4.8, likely 3.7 to 6.1

Ecosyste.ms found about 44,400 dependent repositories and 3,549 packages, a substantial installed base below Pino and Winston on repository count. Four-week downloads rose from 10.2 million to 22.0 million, but the 2.16× increase trails the 4.1× catalog median and Pino’s 5.10× increase. Repeat installs and dependencies such as Renovate inflate the count, so the pace of new direct adoption is uncertain.

  • dependents: 44,385 repositories and 3,549 packages in the collector’s index.
  • npm.downloadsLast4Weeks and npm.downloadsSame4WeeksYearAgo: 22.0 million installs versus 10.2 million a year earlier.
  • medianDownloadsRatio: 4.1× catalog median versus Bunyan’s 2.16×.
  • peers: Pino has 66,445 dependent repositories and 5.10× download growth.
  • github.stars and bluesky.posts: 7,206 GitHub stars and zero tracked Bluesky posts.
  • raw.githubusercontent.com/renovatebot/renovate/44.245.0/package.json: Renovate’s November release pins Bunyan, generating indirect installs.
Vouched for4.4

Who stands behind it being good?

Claude Opus 5.5: 3.0, likely 2.0 to 5.0

Bunyan has a long history of production use, including Joyent and restify. Current independent write-ups, however, call it legacy and advise against it for new projects. Its recent endorsements are weak.

GPT-6.2 Sol: 5.7, likely 4.5 to 6.9

Google Cloud still ships a Bunyan integration, and Renovate’s November 2026 release depends on Bunyan directly. Salesforce CLI and Restify both moved to Pino, and Sentry’s 2026 guide recommends Bunyan for existing codebases. These sources show continuing use, with weaker evidence that teams are choosing it for new work.

Safe4.9

How safe is it to depend on?

Claude Opus 5.5: 5.0, likely 4.0 to 7.0

It has an MIT licence, no advisories and few dependencies, which are mostly optional. However, the Scorecard is 3.1, with no security policy, no branch protection and no maintenance. Any future vulnerability would likely go unpatched.

  • advisories.total: 0 advisories.
  • scorecard score: 3.1; Security-Policy, Branch-Protection and Maintained are all 0.
  • npm dependencies / license: 4 dependencies; MIT licence.
  • github.com/trentm/node-bunyan/issues: The SECURITY.md pull request has been open since 2022.

GPT-6.2 Sol: 4.8, likely 3.4 to 6.4

Bunyan is MIT-licensed and declares four optional runtime dependencies. The bundle lists zero OSV entries, and the project’s changelog records an older CLI vulnerability fixed in 1.8.13. The optional file-rotation dependency chain has an open report about a memory leak in inflight, and the 3.1 OpenSSF Scorecard flags weak code review, branch protection, and security policy checks. Risk varies with the optional features installed, and current release safeguards are unclear.

Good

  • Simple JSON-lines output, with child loggers, serializers and levels that have proven themselves over many years.
  • The bundled bunyan CLI pretty-prints and filters log files.
  • No known security advisories, and its few runtime dependencies are mostly optional.
  • Its API is close to Pino's, so moving away from it is easy.

Bad

  • No release since 1.8.15 in January 2021, no commits since 2023, and about 230 open issues.
  • It has no built-in TypeScript types, so you need the community @types/bunyan package.
  • It is slower than Pino in independent benchmarks and has no built-in redaction.
  • It runs only on Node.js, and the optional native dtrace-provider dependency has caused install problems in the past.

The numbers

npm downloads, 4 weeks
22M ×2.2 in a year
GitHub stars
7.2k
Commits, 12 months
0
npm version
1.8.15 Jan 2021
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
3.1 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (trentm/node-bunyan), npm (bunyan), OSV and the OpenSSF Scorecard.

Logging libraries

  1. 8.7Pino
  2. 7.7LogTape
  3. 6.5tslog
  4. 6.3winston
  5. 5.9Consola
  6. 5.4loglevel
  7. 4.5debug
  8. 4.4log4js
  9. 3.4Bunyan
Compare all 9 on six scores