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.
Documentation
Complete documentation with installation guides, API reference, framework integrations, and platform-specific setup.
Quick Start
npm install @flarelog/sdkimport { 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_keyFeatures
- 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