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

@promin/core

v0.1.1

Published

Resilient async pipelines, stream processing, and concurrency primitives for TypeScript. Built on Effect.

Readme

@promin/core

TypeScript toolkit for resilient async operations, durable workflows, stream processing, and analytics. Built on Effect.

Modules

Pipeline — Async actions with resilience

Chainable, lazily-evaluated wrapper over Effect. Retry, timeout, circuit breaker, caching, polling — without Effect expertise.

const result = await Pipeline.fn(() => callService())
  .map((data) => transform(data))
  .retry({ maxRetries: 3, jitter: true })
  .timeout(5_000)
  .runPromise();

StreamPipeline — Stream processing with backpressure

Parallel transforms, batching, deduplication, windowing. Automatic operator fusion.

await StreamPipeline.fromAsyncIterable(messages, onError)
  .filter((msg) => msg.topic === "events")
  .parAsyncMap(10, (msg) => enrichFromDb(msg.payload))
  .groupWithin(500, 1_000)
  .forEach((batch) => db.bulkInsert(batch));

StreamTopology — Stateful stream processing

Kafka Streams / Flink-style: keyed state, time windows, joins, deduplication, checkpointing, distributed shuffle.

const topology = StreamTopology.source(clicks)
  .keyBy((e) => e.userId)
  .shuffle() // repartition for multi-instance
  .tumbling(60_000)
  .count()
  .to(output);

Durable Workflows — Crash-recoverable execution

DAG-based workflows with compensation (sagas), map steps, sleep/signal, retry, and visual editor schema.

const orderFlow = workflow({ name: "process-order", storage })
  .stepAsync("validate", async ({ input }) => validate(input))
  .stepAsync("charge", async ({ prev }) => charge(prev), {
    compensate: async ({ result }) => refund(result),
  })
  .stepAsync("ship", async ({ prev }) => ship(prev))
  .build();

Distributed Workers — Multi-machine step execution

Coordinator + workers via Postgres queues. Route steps to specialized hardware (GPU, AI). Same workflow definition works in-process and distributed.

const coordinator = createCoordinator({ storage, stepQueue, routing: { transcribe: "gpu" } });
await coordinator.submit({ workflow: processVideo, workflowId: "v1", input });

DataFrame — Lazy analytics

Composable DataFrame with expression builder, window functions, joins, and pluggable executors (Array or DuckDB).

const result = await DataFrame.fromRows(sales)
  .filter(col("amount").gt(lit(100)))
  .groupBy("region")
  .agg({ total: { column: "amount", fn: "sum" } })
  .sort("total", "desc")
  .collect();

Additional Modules

| Module | Description | | ----------------------------------------- | ------------------------------------------------------------------------- | | RawStream | Zero-overhead stream for hot paths (~4x faster than StreamPipeline) | | Stream Pipes | Reusable through() transforms: CSV, JSONL, XML, base64, length-prefixed | | Data Profiler | Column statistics, correlations, quality warnings | | Data Diff | Row-level change detection between datasets | | Data Quality | Declarative expectations and validation suites | | Data Contracts | Schema + expectations + SLA definitions | | SQL Models | dbt-style SQL model DAG with materialization | | Scheduler | Cron + rrule-based workflow scheduling |