# gajus/roarr

JSON logger for Node.js and browser.

Repository: https://github.com/gajus/roarr
Canonical: https://ross.abutalabs.com/products/roarr
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: json, logger, debugging
Last push: 2026-07-26T16:10:39+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 83, longevity 100
- inputs: {"age_days": 3259, "days_push": 38, "days_rel": 38, "gap_med": 39, "n_releases_24m": 6}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1138, forks 41 (observed 2026-08-28T04:03:44.042140+00:00)

## What it is
Roarr is a fast, structured JSON logger for Node.js and browser environments that requires no initialization or configuration. It decouples log transports, supports environment-variable-based configuration, and includes a CLI program for pretty-printing logs.

## Use cases
- add structured JSON logging to a Node.js application
- log from library code without requiring host app configuration
- correlate logs between application and dependency code
- pretty-print JSON logs with a CLI tool
- enable logging via environment variables in production
- capture browser-side logs as structured data
- replace Winston or Bunyan with a zero-init logger
- pipe logs to external transport processes

## When to choose
- you need structured JSON logs that are safe to parse
- you are writing libraries that must log without app-level configuration
- you want logging enabled/disabled via environment variables
- you need the same logging API in Node.js and the browser
- you want transports decoupled into external processes

## When to avoid
- you need built-in log transports, rotation, or shipping to external services
- you prefer human-readable text logs by default
- you want a logger with extensive plugin ecosystem like Winston
- your team expects logging enabled without any environment setup

## Facets
- artifact type: library
- maturity: active
- function: logging, serialization, cli, developer-tools
- domain: developer-tools, backend, web-development
- platform: browser
- tags: -logger, structured-logging, zero-configuration, environment-variable-config, transport-decoupling, debugging, nodejs, javascript, typescript

## Member repositories
- gajus/roarr (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.042140+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-30T06:36:08.887290+00:00, confidence not recorded.
  - readme: https://github.com/gajus/roarr (fetched 2026-08-28T04:03:44.042140+00:00, sha cd5a8c42aed2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
