GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - logtide-dev/logtide-javascript: Official JavaScript SDKs for LogTide — distributed tracing, error capture, and structured logging for Node.js, Next.js, Nuxt, SvelteKit, Hono, Angular, and Elysia

BranchesTags
Open more actions menu

Latest commit

 

History

84 Commits
84 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
packages
packages
 
 
scripts
scripts
 
 
test-apps
test-apps
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONFORMANCE.md
CONFORMANCE.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
tsconfig.base.json
tsconfig.base.json
 
 
vitest.workspace.ts
vitest.workspace.ts
 
 

Repository files navigation

LogTide Logo

LogTide JavaScript SDK

Release License CI

Official JavaScript SDKs for LogTide — self-hosted log management with distributed tracing, error capture, and breadcrumbs for every major framework.


Packages

Package Version Description
@logtide/types npm Shared type definitions
@logtide/core npm Core client, hub, transports, and utilities
@logtide/express npm Express middleware
@logtide/fastify npm Fastify plugin
@logtide/nextjs npm Next.js integration (App Router & Pages)
@logtide/nuxt npm Nuxt 3 module with Nitro hooks
@logtide/sveltekit npm SvelteKit hooks integration
@logtide/hono npm Hono middleware
@logtide/angular npm Angular ErrorHandler, HTTP Interceptor
@logtide/elysia npm Elysia 1.4 plugin + Elysia 2 preview via /next
@logtide/browser npm Browser SDK — Web Vitals, breadcrumbs, offline transport
@logtide/cli npm CLI — source maps upload and release management
@logtide/sdk-node npm Legacy Node.js SDK (use @logtide/express or @logtide/fastify instead)

Quick Start

Every framework package follows the same pattern — pass your DSN and service name:

# Install for your framework
npm install @logtide/express   # Express
npm install @logtide/fastify   # Fastify
npm install @logtide/nextjs    # Next.js
npm install @logtide/nuxt      # Nuxt 3
npm install @logtide/sveltekit # SvelteKit
npm install @logtide/hono      # Hono
npm install @logtide/angular   # Angular
npm install @logtide/elysia    # Elysia
// Every integration follows the same pattern:
{
  dsn: 'https://[email protected]',
  service: 'my-app',
}

// Or use apiUrl + apiKey separately:
{
  apiUrl: 'https://your-logtide-instance.com',
  apiKey: 'lp_your_key',
  service: 'my-app',
}

See each package's README for framework-specific setup instructions.

CLI

The @logtide/cli package provides a command-line tool for managing source maps and releases.

# Install globally
npm install -g @logtide/cli

# Or use npx
npx @logtide/cli sourcemaps upload --api-url https://your-logtide-instance.com --api-key lp_your_key ./dist

Commands

Command Description
logtide sourcemaps upload Upload source maps to LogTide server for stack trace deobfuscation

Architecture

@logtide/types          ← Shared TypeScript interfaces
    ↓
@logtide/core           ← Client, Hub, Scope, Transports, Integrations
    ↓
├── @logtide/express    ← Express middleware
├── @logtide/fastify    ← Fastify plugin
├── @logtide/nextjs     ← Next.js (App Router + Pages)
├── @logtide/nuxt       ← Nuxt 3 (Nitro + Vue)
├── @logtide/sveltekit  ← SvelteKit (handle/handleError/handleFetch)
├── @logtide/hono       ← Hono middleware
├── @logtide/angular    ← Angular (ErrorHandler + HttpInterceptor)
├── @logtide/elysia     ← Elysia 1.4 plugin + Elysia 2 /next export
├── @logtide/browser    ← Browser SDK (Web Vitals, breadcrumbs, offline)
├── @logtide/cli        ← CLI (source maps upload)
└── @logtide/sdk-node   ← Legacy standalone Node.js SDK

All framework packages share @logtide/core for:

  • Distributed tracing (W3C Trace Context / traceparent)
  • Error serialization with structured stack traces
  • Breadcrumbs for navigation, HTTP, console, and custom events
  • Batched transport with retry logic and circuit breaker
  • Scope isolation per request

Development

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run all tests
pnpm test

# TypeScript check
pnpm typecheck

# Set version across all packages
pnpm version:set 0.6.0

Branch Model

feature/* ──> develop ──> main ──> tag v*.*.* ──> npm publish
hotfix/*  ──> main (direct, for urgent fixes)

See .github/BRANCH_PROTECTION.md for full details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

MIT License — see LICENSE for details.

Links

  • LogTide Website
  • Documentation
  • GitHub Issues

About

Official JavaScript SDKs for LogTide — distributed tracing, error capture, and structured logging for Node.js, Next.js, Nuxt, SvelteKit, Hono, Angular, and Elysia

logtide.dev/docs/sdks/nodejs/

Topics

angulardistributed-tracingelysiaerror-trackinghonojavascript-sdklog-managementlogginglogtidemonoreponodejsnodejsnectjsnuxtobservabilityopentelemetryself-hostedsveltekittraceparenttypescript

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

3 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.