LogTape
A strong pick. 2nd of 9 logging libraries.
LogTape is a zero-dependency logger for JavaScript and TypeScript. It runs on Node.js, Deno, Bun, browsers and edge runtimes, and it is built so that libraries can log without forcing any setup on the apps that use them. It is very actively developed and growing fast, so it is a strong pick for a new project today. It is much younger than Pino and rests mainly on one maintainer.
Best for: Library authors, and teams whose code must log the same way on Node, Deno, Bun, browsers and edge functions.
Scores
Overall7.7
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.3, likely 6.3 to 8.0
It is a modern, well-designed and very actively maintained logger. It is the best fit for libraries and for code that runs on several runtimes, and it is growing much faster than the field. Pino is still the safer default for Node-only services, because it is far more proven and has a larger ecosystem. The single-maintainer risk and the short track record keep LogTape below the top tier.
- npm downloads ratio: About 31 times last year's downloads, against a 4.1 median
- blog.sentry.io/javascript-logging-library-definitive-guide: Recommended for libraries and for apps that span runtimes
- peers Pino: Pino has far more use and a longer production record
- jskits.github.io/loggerjs/COMPARISON: Third-party comparison: LogTape is library-first, Pino is app-oriented
GPT-6.2 Sol: 8.1, likely 7.0 to 9.0
LogTape is a strong first choice for libraries that hand logging control to the host and for apps that share logging across runtimes. Its typed API, regular fixes, and rapid install growth support choosing it for new work. Pino has stronger Node.js throughput evidence and is Fastify's built-in choice when logging is enabled. LogTape's shorter operating history and concentrated release ownership keep the range wide.
- logtape.org/manual/library: Explains how libraries emit logs while the host controls configuration.
- logtape.org/changelog: Records recent stable patches and backports.
- portablejs.com/packages/log: Reports higher Node.js throughput for Pino in its logging benchmarks.
- fastify.dev/docs/latest/Reference/Logging: Fastify uses Pino when its built-in logging is enabled.
- jsr.io/@logtape/logtape/versions: Visible release history centers on one maintainer.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: LogTape grew fastest in the peer bundle from a small base.
Needed by many7.7
How many developers need a tool for this job?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Most server apps need a logger with levels and structure, and many other apps do too. LogTape runs on every major runtime, so no runtime limits it. Its focus on libraries adds a group of users that most peers serve badly.
- github description: Targets Deno, Node.js, Bun, browsers and edge functions
- blog.sentry.io/javascript-logging-library-definitive-guide: The only universal-runtime logger among those compared
GPT-6.2 Sol: 7.8, likely 6.7 to 8.8
Structured logs serve a large group of developers building services, workers, and shared libraries. LogTape also covers browser and edge code, which makes one API practical across an app. Many small projects can get by with console logging, and the survey measures language use rather than demand for a dedicated logger.
- survey.stackoverflow.co/2026/technology: JavaScript and TypeScript are widely used. Dedicated logger use is unmeasured.
- logtape.org: Documents supported runtimes and logging features.
- reddit.com/r/nextjs/comments/1rm3mmb/the_tech_stack_ive_been_refining_for_6_years: A Next.js maintainer reports switching for shared browser, server, and edge logging.
Helps a lot8.1
How well does it do the job for those who need it?
Claude Opus 5.5: 7.8, likely 6.8 to 8.6
It has a strong feature set: structured logs, categories, context, redaction, throttling, logfmt output, many official sinks, adapters for other loggers, and lint rules. It is fully typed and has zero dependencies. Its speed figures are self-reported, and its third-party ecosystem is thin next to Pino's. Those two points keep the score below the top.
- github.com/dahlia/logtape: Lists 27 packages: sinks, adapters, framework integrations, redaction, testing and lint
- blog.sentry.io/javascript-logging-library-definitive-guide: 8.3 KB gzipped, zero dependencies, tree-shakable, redaction; speed figures self-reported
- npm hasTypes: Ships its own TypeScript types
- news.ycombinator.com/item?id=48168527: Version 2.1 added throttling, logfmt and HMAC pseudonymization
GPT-6.2 Sol: 8.3, likely 7.2 to 9.2
LogTape has a typed API, hierarchical categories, request context, and configurable sinks and filters. The examples and bundled agent skill make the API easier to learn, though agent accuracy is unmeasured. Outside benchmarks favor Pino for Node.js structured output, and the gap varies with the formatter and workload. Version 2.4.2 fixed a reported JSON Lines failure on bigint values.
- logtape.org: Documents structured logging, contexts, sinks, and filters.
- npm hasTypes: The npm package includes TypeScript declarations.
- logtape.org/manual/llm: Documents the bundled agent skill and machine-readable documentation.
- jskits.github.io/loggerjs/BENCHMARKS: A competing logger's Node.js benchmark found Pino faster at JSON Lines output than LogTape 2.1.3.
- portablejs.com/packages/log: A separate competing project also measured higher Node.js throughput for Pino.
- github.com/dahlia/logtape/issues/258: A user's bigint serialization report was fixed in 2.4.2.
Holds up over time7.3
Will it still be a good choice in two years?
Claude Opus 5.5: 7.0, likely 5.5 to 8.0
Activity is very high. There were 906 commits and 113 npm versions in the last year, and only 7 issues are open against 153 closed. The work rests mostly on one maintainer, and no company funding is named. GitHub Releases are not used, though the packages are published to npm and JSR. Major versions change fast.
- github commitsLastYear: 906 commits
- npm versionsLastYear: 113 versions; latest 2.4.2 on 2026-10-18
- github openIssues/closedIssues: 7 open, 153 closed
- github contributors: 28 contributors, but one owner leads the project
- github.com/dahlia/logtape: No sponsors or funding listed; the Releases section is empty
GPT-6.2 Sol: 7.5, likely 6.1 to 8.7
The monorepo is active, and npm and the changelog show frequent publishes despite an empty GitHub Releases count in the bundle. Maintainers closed the reported bigint regression in two days and backported the fix to four older release lines. Public release records center on one maintainer, and sustained funding and backup release access are unclear. The documented 2.0 changes to error output and OpenTelemetry fields add some upgrade work.
- github commitsLastYear, contributors, mergedPullRequests, releasesLastYear: 906 commits, 28 contributors, 73 merged PRs, and no GitHub Releases counted.
- npm versionsLastYear and latestPublishedAt: 113 published versions in the last year, with 2.4.2 published in October 2026.
- logtape.org/changelog: Tracks stable releases and maintenance across several release lines.
- github.com/dahlia/logtape/issues/258: Closed in two days with fixes listed across five release lines.
- jsr.io/@logtape/logtape/versions: The visible publishing history repeatedly names the same maintainer.
- github.com/dahlia/logtape/discussions/133: Documents the 2.0 breaking changes.
- github.com/dahlia/logtape/issues/153: The 3.0 roadmap includes first-class support for one structured record per request or job.
Used widely4.8
How many use it, and is that growing?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Downloads were about 4.0M in the last 4 weeks, against 130K a year before. That is about 31 times as many, far above the 4.1 median, so it is gaining ground fast. Part of that comes from projects that install it for their users, such as the Hive and Fedify ecosystems. Its total is still about 1% of Pino's and below tslog's.
- npm downloadsLast4Weeks: 4,027,044, against 129,947 a year earlier
- peers Pino downloadsLast4Weeks: Pino has 311M, and tslog has 6.7M
- github stars: 2,035 stars, more than tslog's 1,755
- dependabot.ecosyste.ms/packages/npm/@logtape%2Flogtape: Used by fedify-dev/hollo, OctoMind-dev/cli and graphql-hive/gateway
- dependents: null: ecosyste.ms has no count for this package
GPT-6.2 Sol: 4.5, likely 3.0 to 6.0
Four-week npm downloads rose from about 130,000 to 4.03 million, roughly 31 times year over year against a catalog median of 4.1 times. That is the fastest growth in the peer bundle, although LogTape still has fewer installs than tslog and far fewer than Pino. Automated and transitive installs, stars shared across the monorepo, and installs through JSR make direct adoption hard to estimate. npm's snapshot shows 283 dependent packages, while ecosyste.ms lacks a comparable repository count.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: 4,027,044 versus 129,947 downloads, well above the catalog's growth baseline.
- peers, github stars, bluesky posts, dependents: The monorepo has 2,035 stars and five Bluesky posts. There is no ecosyste.ms count.
- npmjs.com/package/%40logtape/logtape?activeTab=dependencies: The npm snapshot lists 283 dependent packages and describes the monorepo.
- jsr.io/@logtape/logtape/versions: JSR is an additional distribution channel outside npm totals.
Vouched for6.0
Who stands behind it being good?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
Sentry names it its 'Editor's Favorite' and publishes a cookbook for it. The Guild's Hive logger ships a LogTape writer. Independent write-ups and user reports remain few, and no developer survey covers it yet.
- blog.sentry.io/javascript-logging-library-definitive-guide: Sentry names LogTape its Editor's Favorite
- sentry.io/cookbook/structured-logging-logtape: Sentry's own guide to LogTape with the @logtape/sentry sink
- the-guild.dev/graphql/hive/docs/logger/writers: The Hive logger supports a LogTape writer
- hackerNews: Few stories; the top one has only 26 points
GPT-6.2 Sol: 6.4, likely 5.1 to 7.6
Sentry documents using LogTape for structured logging in its MCP server, and an independent Next.js starter switched from Pino to share logging across runtimes. Fedify builds on LogTape and documents how applications configure its logs, adding a framework use case. Outside benchmarks provide a performance check, while survey satisfaction and evidence from a wider set of production deployments remain sparse.
- github.com/getsentry/toolkit/blob/main/docs/operations/logging.md: Sentry documents LogTape in its MCP server's logging pipeline.
- github.com/ixartz/Next-js-Boilerplate/blob/main/README.md: The starter documents its switch from Pino to LogTape.
- fedify.dev/manual/log: Fedify emits logs through LogTape and exposes configuration to consuming apps.
- jskits.github.io/loggerjs/BENCHMARKS: Publishes measured structured-output performance and benchmark conditions.
Safe8.2
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
It has zero runtime dependencies, no known advisories and an MIT licence. There is no OpenSSF Scorecard for it. Releases depend mostly on one maintainer, which is a single point of risk in the supply chain.
- npm dependencies: 0 dependencies
- advisories total: 0 advisories
- scorecard: null: not scored
- npm license: MIT
- socket.dev/npm/package/@logtape/logtape/overview/2.2.4: A third-party package scanner has a listing for it
GPT-6.2 Sol: 8.3, likely 7.2 to 9.3
The MIT-licensed core has zero runtime dependencies, and its GitHub Actions workflow runs cross-runtime tests before publishing with provenance enabled. GitHub documents a moderate log-forgery issue in older core versions that the bundle's OSV count missed. The project issued fixes across four release lines at disclosure, and 2.4.2 includes the fix. The missing OpenSSF Scorecard and limited visibility into who can authorize releases leave some uncertainty.
- npm license, npm dependencies, advisories, scorecard: MIT, zero runtime dependencies, zero reported OSV entries, and no Scorecard.
- github.com/dahlia/logtape/security/advisories/GHSA-hp6w-c2ch-g44w: The September 2026 core advisory lists four patched versions.
- logtape.org/changelog: Dates the four patches to the day the advisory was published.
- github.com/dahlia/logtape/blob/0e0dbf0/.github/workflows/main.yaml: Cross-runtime tests gate publishing, and the npm publish job enables provenance.
Good
- It has zero dependencies, can be tree-shaken, and runs unchanged on Node.js, Deno, Bun, browsers and edge runtimes.
- Libraries can log through it without configuring anything, and the app decides which logs it sees.
- It has built-in structured logging, hierarchical categories, redaction and throttling.
- It ships many official packages: sinks for Sentry, OpenTelemetry, CloudWatch and files, adapters for Pino and winston, and integrations for Hono, Express, Fastify and Drizzle.
Bad
- One maintainer does most of the work, and no company is named as paying for it.
- Its speed claims come from the project itself, and no independent benchmark backs them yet.
- Its ecosystem and pool of user reports are far smaller than those of Pino or winston.
- It changes fast: major version 2 came within about a year of 1.0, and about 113 npm versions shipped in the last year, which means frequent upgrades.
The numbers
- npm downloads, 4 weeks
- 4M ×31 in a year
- GitHub stars
- 2k
- Commits, 12 months
- 906
- npm version
- 2.4.2 Oct 2026
- Versions, 12 months
- 113
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (dahlia/logtape), npm (@logtape/logtape), OSV and the OpenSSF Scorecard.