tslog
Reasonable, with limits. 3rd of 9 logging libraries.
tslog is a TypeScript-first logger with no dependencies. It runs on Node, Bun, Deno, browsers and workers, and gives pretty output in development and JSON in production. It is well kept and has many features, but it has little outside validation, one person publishes it, and the 2026 v5 rewrite broke existing code. That makes it a reasonable choice, not a default: Pino is safer for Node services and LogTape is stronger for code that runs everywhere.
Best for: TypeScript developers who want readable pretty logs, built-in masking and one logger across Node, Bun, Deno and the browser.
Scores
Overall6.5
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
tslog is an active, dependency-free, nice-to-use logger with good TypeScript and multi-runtime support. It is held back by one maintainer, a fresh breaking rewrite, no public benchmarks and little independent validation. For Node services Pino is the safer pick, and LogTape competes directly on universal TypeScript logging with much more activity.
- peers Pino downloadsLast4Weeks: Pino has 311M downloads per 4 weeks and 66k dependent repos
- peers LogTape commitsLastYear: LogTape has 906 commits in the last year and fast growth
- tslog.js.org: Feature set and v5 breaking changes
GPT-6.2 Sol: 7.4, likely 6.2 to 8.4
tslog is a strong pick when one typed API needs to serve readable development logs and structured production logs across runtimes. Pino remains the better default for high-throughput Node.js services, and LogTape is a better fit when library authors want the host app to control log routing. Active releases support choosing tslog today, while the recent rewrite, single listed npm collaborator, and limited independent performance data leave more uncertainty about the long term.
- tslog.js.org: Documents cross-runtime support, pretty output, and structured logging.
- fastify.dev/docs/latest/Reference/Logging: Fastify uses Pino for performance-oriented Node.js logging.
- logtape.org/comparison: Shows Pino's Node.js benchmark results and LogTape's host-controlled library logging.
- tslog.js.org/migration-v4-to-v5: Documents the cost of upgrading across the v5 rewrite.
- npmjs.com/package/tslog?activeTab=versions: Confirms the stable release and the single listed collaborator.
- github releasesLastYear, peers: Nine releases show active maintenance amid much larger established peers.
Needed by many7.2
How many developers need a tool for this job?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Most apps need logging, and tslog works on the server, in the browser and on edge runtimes. Its TypeScript-first, pretty-by-default approach suits a large group of developers, but since v5 it is ESM-only and needs Node 22 or later, which leaves out older CJS codebases.
- tslog.js.org: Runs on Node, Deno, Bun, browsers, Workers and React Native; ESM-only; needs Node 22 or later
GPT-6.2 Sol: 7.3, likely 6.1 to 8.3
Structured logging is useful across web services, browser apps, workers, and command-line tools. tslog covers a broad set of runtimes without tying teams to a framework. The range reflects uncertainty about how many projects need structured logs or shared logging code beyond the built-in console.
- survey.stackoverflow.co/2026/technology/data/web-framework: Survey shows substantial use of Node.js and browser frameworks.
- tslog.js.org: Documents supported runtimes and both output modes.
- reddit.com/r/typescript/comments/1108nw7/after_having_used_many_loggersdebuggers: Developers discuss frontend and backend logging and report choosing or shortlisting tslog.
Helps a lot7.3
How well does it do the job for those who need it?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
It has many features built in: pretty and JSON output, masking, child loggers, middleware, file, HTTP and worker transports, source-mapped errors, OTel and pino presets, and an llms.txt file for coding agents. Performance is not benchmarked in public. The v5 rewrite is only a few months old, and Pino's transport ecosystem and record under load are stronger. Little independent use is reported, so the range is wide.
- tslog.js.org: v5 features and comparison table; benchmark numbers not published
- github.com/fullstack-build/tslog/releases: v5.0.0 ground-up rewrite in July 2026; fixes and features through 5.5.0
- dev.co/observability/open-source/tslog: Third-party page: performance at high volume is not benchmarked; Pino has stronger published performance
GPT-6.2 Sol: 8.0, likely 6.9 to 9.0
Version 5.5.0 combines readable output, flat JSON, source-mapped errors, and configurable transports behind a typed API. Worked examples, typed configuration, and bundled agent documentation make the current API easier to use, though agent accuracy is unmeasured. Node JSON mode batches writes and skips stack capture by default, but published benchmarks do not establish how tslog 5.5.0 compares with Pino or LogTape under load.
- tslog.js.org: Documents typed configuration, agent guidance, error formatting, and buffered JSON output.
- github.com/fullstack-build/tslog/releases/tag/v5.5.0: Current stable release fixes masking and reports JSON render failures.
- github.com/fullstack-build/tslog/issues/284: Users requested easier log enrichment, which v5 addresses with middleware and async context.
- logtape.org/comparison: Publishes peer throughput measurements without a tslog result.
Holds up over time6.5
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 4.5 to 7.5
Activity is high: 198 commits and 9 releases in the last year, and no open issues. But one maintainer publishes all releases and no funding is visible. The July 2026 rewrite broke v4 code, and the 5.2 minor dropped a Node version, so upgrades can break.
- github commitsLastYear: 198 commits, 9 releases in the last year
- github openIssues: 0 open issues, 199 closed
- github.com/fullstack-build/tslog/releases: All releases by one maintainer; v5 breaking rewrite; Node 20 dropped in 5.2
GPT-6.2 Sol: 7.0, likely 5.6 to 8.3
The project shipped nine releases and made 198 commits in the past year, and a recent user-reported masking bug went from report to release in two days. The v5 rewrite changed configuration and JSON output, and v5.2 raised the Node.js minimum from 20 to 22. npm lists one collaborator, and the repository solicits sponsorship without establishing how much maintenance it funds.
- github commitsLastYear, releasesLastYear, contributors: 198 commits, nine releases, and 32 contributors.
- github.com/fullstack-build/tslog/issues/395: User reported the bug on November 7 and it was closed on November 9.
- tslog.js.org/migration-v4-to-v5: Documents the v5 compatibility breaks and a v4 backport.
- github.com/fullstack-build/tslog/releases/tag/v5.2.0: Node.js 20 support was dropped in a minor release.
- npmjs.com/package/tslog?activeTab=versions: Lists one npm collaborator.
- github.com/fullstack-build/tslog/blob/master/.github/FUNDING.yml: Lists GitHub sponsorship for the project.
Used widely4.2
How many use it, and is that growing?
Claude Opus 5.5: 4.5, likely 3.5 to 5.5
Downloads grew about 9x in a year, to 6.7M per 4 weeks, which is well above the 4.1 median ratio. That jump probably comes partly from a package that installs tslog, not only from direct choices. Dependents (1,357 repos) are a small fraction of Pino's 66k or winston's 286k. It has no Hacker News or Bluesky attention.
- npm downloadsLast4Weeks: 6.67M now vs 0.73M a year ago, ratio about 9.1
- dependents repos: 1,357 repos and 407 packages, far below Pino and winston
- bluesky posts: 0 Bluesky posts and 0 HN stories
- socket.dev/npm/package/tslog/overview/^4.8.2: Package listing showing usage stats
GPT-6.2 Sol: 3.9, likely 2.6 to 5.3
Four-week downloads grew 9.1-fold to 6.67 million, ahead of the catalog's 4.1-fold median and Pino's 5.1-fold growth, with LogTape growing faster from a smaller base. ecosyste.ms found 1,357 dependent repositories and 407 packages, and the bundle recorded no matched Hacker News or Bluesky activity. I infer that OpenClaw accounts for some installs, and older v4 releases still made up most of the downloads shown in npm's version snapshot. The share of growth attributable to projects choosing tslog directly remains uncertain.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 6.67 million versus 0.73 million, with a 4.1-fold catalog median.
- dependents, github stars, peers: 1,357 indexed repositories and 1,755 stars, well below Pino's footprint.
- hackerNews stories, bluesky posts: Zero matches in either channel.
- raw.githubusercontent.com/openclaw/openclaw/v2026.11.6/package.json: A recent OpenClaw release installs tslog 5.4.0.
- npmjs.com/package/tslog?activeTab=versions: Versions 4.10.2 and 4.11.0 account for most downloads shown in the snapshot.
Vouched for4.3
Who stands behind it being good?
Claude Opus 5.5: 3.0, likely 2.0 to 4.5
I found no named production users, no survey presence, no independent benchmarks and no frameworks built on it. The only third-party write-ups are listing or marketing pages. The modest dependent count is weak indirect evidence of use.
- dev.co/observability/open-source/tslog: Names no adopters; marketing comparison
- hackerNews stories: No HN stories
- betterstack.com/community/comparisons/pino-vs-winston: Mainstream logger comparisons cover Pino and winston, not tslog
GPT-6.2 Sol: 5.6, likely 4.3 to 6.8
OpenClaw ships tslog v5 as a runtime dependency, and LogLayer offers a dedicated transport. User reports support its appeal for cross-runtime logging, though some predate the v5 rewrite. Current evidence is strongest for one prominent downstream user, with limited coverage from surveys and independent benchmarks.
- raw.githubusercontent.com/openclaw/openclaw/v2026.11.6/package.json: OpenClaw 2026.11.6 pins tslog 5.4.0 as a runtime dependency.
- loglayer.dev/transports/tslog.html: LogLayer documents an optional tslog transport.
- reddit.com/r/typescript/comments/1108nw7/after_having_used_many_loggersdebuggers: Developers report choosing or evaluating tslog.
- 2025.stateofjs.com/en-US/libraries: Survey provides no tslog satisfaction or retention measure.
- javascripts.com/compare/pino-vs-tslog: Independent comparison reports package differences without measuring runtime performance.
Safe7.0
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has zero runtime dependencies, no known advisories and an MIT licence, so the attack surface is small. The Scorecard is 4.6: code review, token permissions, security policy and SAST all score 0, and one maintainer publishes releases. That is a single point of failure for the supply chain.
- npm dependencies: 0 runtime dependencies
- advisories total: No advisories ever
- scorecard score: 4.6; Code-Review, Token-Permissions, Security-Policy and SAST at 0
- security.snyk.io/package/npm/tslog: No known vulnerabilities
GPT-6.2 Sol: 6.9, likely 5.6 to 8.1
The MIT-licensed package has zero runtime dependencies and zero OSV advisories in the snapshot. Version 5.5.0 fixed a user-reported redaction bug within two days, and secret masking requires explicit configuration in v5. A 4.6 OpenSSF Scorecard, weak code-review and workflow-token checks, a missing security policy, and one listed npm collaborator limit confidence in the release process.
- npm license, dependencies, advisories total: MIT licence, zero runtime dependencies, and zero OSV advisories.
- scorecard score, checks: 4.6 overall, with zeroes for code review, token permissions, and security policy.
- github.com/fullstack-build/tslog/issues/395: User-reported redaction bug confirmed and closed within two days.
- github.com/fullstack-build/tslog/releases/tag/v5.5.0: Stable release ships the masking fix.
- github.com/fullstack-build/tslog/security: GitHub reports no security policy.
- github.com/fullstack-build/tslog/blob/v5.5.0/package.json: Defines a release script using np.
- npmjs.com/package/tslog?activeTab=versions: Lists one npm collaborator.
- tslog.js.org/migration-v4-to-v5: Documents that masking must be enabled explicitly in v5.
Good
- It has no runtime dependencies, ships its own types, and offers a slim entry point of about 10KB gzipped.
- It gives pretty console output, structured JSON, sub-loggers and secret masking in one package, with no plugins.
- One API works on Node, Bun, Deno, browsers, Cloudflare Workers and React Native.
- It is actively developed: 9 releases and about 200 commits in the last year, with no open issues.
Bad
- v5 is ESM-only and changed the config and the JSON shape, so upgrading from v4 takes a migration.
- The 5.2 minor release dropped Node 20, so it now needs Node 22 or later.
- There are no published benchmarks. For high-volume Node logging, Pino has a stronger performance record and more transports.
- Its ecosystem is small, it has little independent coverage, and one maintainer publishes every release.
The numbers
- npm downloads, 4 weeks
- 6.7M ×9.1 in a year
- GitHub stars
- 1.8k
- Commits, 12 months
- 198
- npm version
- 5.5.0 Nov 2026
- Versions, 12 months
- 9
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 4.6 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (fullstack-build/tslog), npm (tslog), OSV and the OpenSSF Scorecard.