New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@workflow/world-local

Package Overview
Dependencies
Maintainers
2
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@workflow/world-local

Local development World implementation for Workflow SDK

Source
npmnpm
Version
5.0.0-beta.47
Version published
Weekly downloads
1.7M
80.05%
Maintainers
2
Weekly downloads
 
Created
Source

@workflow/world-local

Filesystem-based workflow backend for local development and testing.

Stores workflow data as JSON files on disk and provides in-memory queuing. Automatically detects development server port for queue transport.

Used by default on next dev and next start.

The local World continues to resume hooks by writing an event and queuing workflow execution. It does not implement world.invoke() or enable capabilities.invoke.

Its HTTP queue handler supports receiving invoke: true messages and returns the callback's value as { result }. For example, a callback returning { timeoutSeconds: 5 } produces { result: { timeoutSeconds: 5 } }. The value is response data; the receiver does not schedule another execution for that invocation.

Programmatic configuration

import { createWorld } from '@workflow/world-local';

const world = createWorld({
  dataDir: './custom-workflow-data',
});

FAQs

Package last updated on 24 Sep 2026

Related posts