npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@pkishorez/effect-tracer

v0.0.9

Published

Effect tracing tools for in-process recording and OTLP export

Readme

@pkishorez/effect-tracer

Effect tracing tools for in-process recording and OTLP export.

Capture Effect spans and logs inside your own process, model correlated work as flows, and export telemetry over OTLP/HTTP — without pulling in a telemetry server.

npm install @pkishorez/effect-tracer

Requires [email protected] as a peer dependency.

@pkishorez/effect-tracer/recorder

Record spans and logs in-process. instrument installs a Tracer and Logger for the duration of an effect; the snapshot methods read back what was captured.

import { makeTraceRecorder } from '@pkishorez/effect-tracer/recorder';

const recorder = makeTraceRecorder({ maxSpans: 2000 });

await Effect.runPromise(recorder.instrument(program));

recorder.snapshot(); // every captured span and log
recorder.snapshotFlows(); // captured work grouped by flow

Options: maxSpans (default 2000), the onSpanEnd / onLog / onTruncated streaming callbacks, and formatValue.

@pkishorez/effect-tracer/flow

Model correlated work across participants. Flow events are emitted as OTel span attributes under flow.* and flowattr.*, so any OTLP backend carries them, and projectFlow turns recorded spans and logs back into a RecordedFlow swim-lane shape.

Exports initFlow, Activation, projectFlow, flowAttributes, flowAttributePrefix, and RecordedFlowSchema.

@pkishorez/effect-tracer/telemetry

A single Effect Layer exporting traces, logs, and metrics over OTLP/HTTP via the OpenTelemetry SDK.

import { makeTelemetryLayer } from '@pkishorez/effect-tracer/telemetry';

const TelemetryLive = makeTelemetryLayer({
  serviceName: 'my-service',
  endpoint: 'http://localhost:14400',
});

Toggle signals individually with the traces, logs, and metrics options.

@pkishorez/effect-tracer/telemetry/dev-telemetry

The same job for local development, built on effect/unstable/observability and FetchHttpClient instead of the OpenTelemetry SDK. Exports immediately rather than batching, so spans show up as they happen, and stamps deployment.environment: local.

import { makeDevTelemetryLayer } from '@pkishorez/effect-tracer/telemetry/dev-telemetry';

const DevTelemetryLive = makeDevTelemetryLayer({ serviceName: 'my-service' });

Adds retries, requestTimeout, and shutdownTimeout on top of the shared options.

License

MIT