# trentm/node-bunyan

a simple and fast JSON logging module for node.js services

Repository: https://github.com/trentm/node-bunyan
Canonical: https://ross.abutalabs.com/products/node-bunyan
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2023-09-18T16:20:50+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5329, "days_push": 1080, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7208, forks 502 (observed 2026-08-28T04:09:56.634408+00:00)

## What it is
Bunyan is a simple and fast JSON logging library for Node.js services, producing one-line JSON log records with standard fields, serializers, child loggers, and multiple stream types. It also ships a CLI tool for pretty-printing and filtering those JSON logs.

## Use cases
- add structured JSON logging to a node.js service
- pretty-print JSON log files in the terminal
- create child loggers with request-scoped fields
- rotate log files by size or time
- filter and view server logs with a CLI

## When to choose
- you want fast, structured JSON logs for node.js backend services
- you need a mature, stable logging library with a companion CLI viewer
- you want serializers and child loggers out of the box

## When to avoid
- you need actively developed features or modern ESM-first tooling
- you want logging integrated into a broader observability platform like OpenTelemetry
- you are not on the Node.js runtime

## Facets
- artifact type: library
- maturity: stable
- function: logging, serialization, cli
- domain: developer-tools, backend
- platform: cli
- tags: -logging, structured-logging, log-viewer, nodejs

## Member repositories
- trentm/node-bunyan (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:56.634408+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:39:50.853024+00:00, confidence not recorded.
  - readme: https://github.com/trentm/node-bunyan (fetched 2026-08-28T04:09:56.634408+00:00, sha 69c98caa4128)
- Data as of 2026-08-30T08:39:29.467469+00:00.
