fullstack-build/tslog
📝 tslog - Universal Logger for TypeScript and JavaScript observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 97
- Release rhythm 93
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1.0
- age_days: 2323
- days_rel: 48
- days_push: 23
- n_releases_24m: 7
Adoption not part of the score
1737 stars · 73 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
tslog is a universal, fully typed logging library for TypeScript and JavaScript that runs in Node.js, browsers, Deno, Bun, workers, and React Native. It provides pretty colored console output by default, structured fields-first JSON for observability pipelines, secret masking, sub-loggers, and pluggable transports and middleware.
Use cases
- add structured JSON logging to a Node.js API for log pipelines
- pretty-print logs with source-mapped line numbers and stack traces in TypeScript
- log consistently across Node.js, browser, Deno, and Bun with one library
- mask secrets and sensitive keys in log output
- create child loggers with inherited settings for modules or agents
- add logging to LLM agent workflows with session correlation
When to choose
- you want a zero-dependency, tree-shakeable logger for TypeScript/JavaScript across runtimes
- you need both human-friendly pretty output and machine-readable JSON from the same logger
- you want built-in secret masking, sub-loggers, and typed middleware/transports
When to avoid
- you need a battle-tested log aggregator or distributed tracing backend rather than a logging library
- you are locked to CommonJS, since v5 is ESM-only
- you need file-based or rotating log sinks out of the box
Facets
library · maturity active
logging error-handling serialization developer-tools backend frontend monitoring bun browser cross-platform typescript structured-logging pretty-print stacktrace secret-masking llm-agents zero-dependencies esm nodejs deno
2 sources
- readme: https://github.com/fullstack-build/tslog · fetched 2026-08-28 · e1256112a53d
- homepage: https://tslog.js.org · fetched 2026-08-29 · 2ec6af964fd9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fullstack-build/tslog | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="fullstack-build/tslog")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem