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

@evixor/evixor-runtime

v1.0.0

Published

**Evixor Runtime** is a lightweight, embeddable workflow engine for orchestrating multi-step pipelines with retries, parallel execution, subpipelines, and human-in-the-loop interactions.

Readme

@evixor/evixor-runtime

Evixor Runtime is a lightweight, embeddable workflow engine for orchestrating multi-step pipelines with retries, parallel execution, subpipelines, and human-in-the-loop interactions.

  • GitHub: https://github.com/evixor-dev/evixor-runtime
  • Demo: https://github.com/evixor-dev/workflow-demo
  • Live: https://evixor.org

Licensed under the MIT License.

Overview

@evixor/evixor-runtime is the core runtime of Evixor. It executes pipeline definitions written as TypeScript/JavaScript functions, managing state, control flow, and persistence through pluggable host and storage layers.

Installation

npm install @evixor/evixor-runtime

Key Concepts

Pipeline

A pipeline is a sequence of named steps. Each step receives a runtime API object (EvixorRuntimeApi) for accessing payload, input, and emitting output. Steps can run serially or in parallel.

Context (EvixorCtx)

The context carries workflow state through execution: current input/output, metadata (step index, lifecycle status), control directives (parallel, skip, continue), warnings, and errors.

Control Flow

Built-in directives (resetControl, controlSubpipeline, controlReRun, controlNextPipeline, controlDone, controlAbort) let step code determine what happens next — branching to another pipeline, rerunning, or terminating.

Persistence & Hosting

The runtime is environment-agnostic. You provide:

  • A PersistLayer — stores context, payload, timeline, and pending inputs
  • A HostLayer — loads pipeline definitions and queues signals

Built-in implementations: InMemoryPersistLayer and InMemoryHostLayer for local dev/testing.

Usage

import {
  EvixorRuntime,
  EvixorPipeline,
  createPipeline,
  InMemoryPersistLayer,
  InMemoryHostLayer,
} from "@evixor/evixor-runtime"

const pipeline: EvixorPipeline = createPipeline({
  name: "my-pipeline",
  steps: [
    { name: "step1", fn: async (pl) => { /* ... */ } },
    { name: "step2", fn: async (pl) => { /* ... */ } },
  ],
})

const runtime = new EvixorRuntime(pipeline, persistLayer, hostLayer)
const result = await runtime.run(payload)

Main Exports

| Export | Description | |--------|-------------| | EvixorRuntime | Pipeline runner | | EvixorPipeline, createPipeline | Pipeline definition | | EvixorCtx, EvixorCtxUserView, EvixorCtxData | Context types | | createCtx, restoreCtx, createProxiedCtx | Context utilities | | StepFn, NextFn | Step and next handler signatures | | RetryConfig, RetryStepError | Step retry mechanism | | BaseHttpError, DevError, OpsError, RetryableError | Typed error hierarchy | | HostLayerLite, HostLayerFull | Host layer interfaces | | PersistLayer | Persistence layer interface | | signalWorkflow, startWorkflow, rerunWorkflow, resumeWorkflow, receivePendingInputs | Workflow orchestration | | resetControl, controlSubpipeline, controlReRun, controlNextPipeline, controlDone, controlAbort | User-space control flow helpers | | fetchJson | Typed fetch wrapper | | TimelineItem, TimelineEventType, TimelineEventData and event subtypes | Timeline types | | EvixorRecorder, FetchRecordEntry, PendingInputsRecordEntry, SubpipelineReturnsRecordEntry | Recording interfaces | | InMemoryPersistLayer, InMemoryHostLayer | In-memory implementations for testing |

License

MIT License. See LICENSE for details.

Source: https://github.com/evixor-dev/evixor-runtime