npm.io
2.5.9 • Published 21m ago

@flarelog/sdk

Licence
MIT
Version
2.5.9
Deps
0
Size
577 kB
Vulns
0
Weekly
4.1K

@flarelog/sdk

Zero-dependency observability for any JavaScript runtime.

Ships logs, errors, and W3C-propagated traces from Cloudflare Workers, Vercel, Node.js, or the browser to FlareLog or any OTLP backend. One SDK, every platform.

npm version License: MIT


Documentation

docs.flarelog.dev

Complete documentation with installation guides, API reference, framework integrations, and platform-specific setup.


Quick Start

npm install @flarelog/sdk
import { flarelog } from "@flarelog/sdk";

const logger = flarelog({});
logger.info("Hello!");  //console (zero config)

Add your API key to ship to the dashboard:

FLARELOG_API_KEY=fl_your_key

Features

  • Zero dependencies — nothing to audit, nothing to conflict
  • Any JavaScript runtime — Cloudflare Workers, Vercel, Node.js, browsers
  • W3C trace propagation — distributed tracing across services
  • Auto-detection — environment, release, platform
  • OTLP-compatible — ships to Grafana, Honeycomb, Datadog, or any OTLP backend

License

MIT

Keywords