# winstonjs/winston

A logger for just about everything.

Repository: https://github.com/winstonjs/winston
Canonical: https://ross.abutalabs.com/products/winston
Homepage: http://github.com/winstonjs/winston
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-07-20T19:12:28+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 60, longevity 100
- inputs: {"age_days": 5726, "days_push": 44, "days_rel": 269, "gap_med": 8, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 24507, forks 1848 (observed 2026-08-28T04:11:37.148697+00:00)

## What it is
Winston is a universal logging library for Node.js supporting multiple transports such as console, files, and remote storage. It offers flexible log levels, custom formats, and extensible transport APIs.

## Use cases
- log application events to console and files in node.js
- send error logs to a remote database while logging info to console
- format logs as json for structured logging
- use custom logging levels in a node app
- add custom log transports to a javascript service

## When to choose
- you need a mature, widely-adopted node.js logger with multiple output destinations
- you want flexible log formatting and custom levels
- you need per-transport log level filtering

## When to avoid
- you need extremely high-performance logging where pino is a better fit
- you are not working in a node.js environment
- you want zero-configuration opinionated logging out of the box

## Facets
- artifact type: library
- maturity: stable
- function: logging
- domain: developer-tools, backend
- platform: cross-platform
- tags: multi-transport, log-levels, json-logging, npm, nodejs

## Member repositories
- winstonjs/winston (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:37.148697+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-29T16:56:12.828652+00:00, confidence not recorded.
  - readme: https://github.com/winstonjs/winston (fetched 2026-08-28T04:11:37.148697+00:00, sha 61367890e74f)
  - homepage: http://github.com/winstonjs/winston (fetched 2026-08-29T07:53:40.183366+00:00, sha 1377d14638fc)
  - registry_npm: https://registry.npmjs.org/winston (fetched 2026-08-29T07:53:40.186482+00:00, sha 7b18b932ae2c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
