qmetrics.net

Tslog

Universal TypeScript and JavaScript logger

Frameworks & PlatformsDesktop/CLI app
Tslog screenshot

tslog provides pretty console logging by default and optional flat JSON for pipelines. It runs on Node.js, browsers, Deno, Bun, workers, and React Native with zero runtime dependencies.

Overview

tslog is a logging library for TypeScript and JavaScript projects that targets both human-readable development output and structured production logs. The default mode prints colorized pretty lines on an interactive terminal and switches to plain text when output is piped or running in CI. Setting type to json emits fields-first records suited to log aggregators.

Version five reorganized settings into groups, adopted ESM-only publishing, and added middleware, pluggable transports, sub-loggers with inherited configuration, secret masking via keys paths and regex, and stack traces with source-mapped call sites when enabled. Tree-shakeable subpaths cover slim bundles, testing helpers, and optional transports.

The same package adapts to Node.js, Deno, Bun, browser consoles, web workers, and React Native with runtime detection and appropriate defaults. Features include bindings for correlation fields, flush and disposal hooks, custom log levels, and presets aligned with OpenTelemetry and GenAI logging patterns mentioned in docs.

Comparison material in the project positions tslog as a single install that covers browser and server, masking, and pretty or JSON output without requiring separate companion packages for basic workflows.

Key features

  • Pretty and JSON output modes
  • Zero runtime dependencies
  • Secret masking and redaction
  • Sub-loggers with inheritance
  • Pluggable transports and middleware
  • Source-mapped stack locations
  • Browser and React Native support
  • Tree-shakeable slim build

Use cases

  • Structured logs in Node services
  • Browser app debugging
  • PII-safe JSON logging
  • Agent and LLM correlation fields
  • Lightweight edge worker logging

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT