JSPM

@dagu-org/dagu

1.22.10
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 86
  • Score
    100M100P100Q27752F
  • License GPL-3.0

A powerful Workflow Orchestration Engine with simple declarative YAML API. Zero-dependency, single binary for Linux, macOS, and Windows.

Package Exports

  • @dagu-org/dagu
  • @dagu-org/dagu/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dagu-org/dagu) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@dagu-org/dagu

A powerful Workflow Orchestration Engine with simple declarative YAML API

npm version License: GPL v3

Installation

npm install -g @dagu-org/dagu

Or add to your project:

npm install @dagu-org/dagu

Usage

Command Line

After installation, the dagu command will be available:

# Start the web UI and scheduler
dagu start-all

# Run a workflow
dagu start my-workflow.yaml

# Check workflow status
dagu status my-workflow.yaml

Programmatic Usage

const { execute, getDaguPath } = require('@dagu-org/dagu');

// Get path to the binary
const daguPath = getDaguPath();

// Execute dagu commands
const child = execute(['start', 'workflow.yaml']);

// Or use async/await
const { executeAsync } = require('@dagu-org/dagu');

async function runWorkflow() {
  const result = await executeAsync(['start', 'workflow.yaml']);
  console.log('Exit code:', result.code);
  console.log('Output:', result.stdout);
}

Supported Platforms

This package provides pre-built binaries for:

  • Linux: x64, arm64, arm (v6/v7), ia32, ppc64le, s390x
  • macOS: x64 (Intel), arm64 (Apple Silicon)
  • Windows: x64, ia32, arm64
  • FreeBSD: x64, arm64, ia32, arm
  • OpenBSD: x64, arm64

If your platform is not supported, please build from source: https://github.com/dagu-org/dagu#building-from-source

Features

  • Zero Dependencies - Single binary, no runtime requirements
  • Declarative YAML - Define workflows in simple YAML format
  • Web UI - Beautiful dashboard for monitoring and management
  • Powerful Scheduling - Cron expressions, dependencies, and complex workflows
  • Language Agnostic - Run any command, script, or executable

Documentation

For detailed documentation, visit: https://github.com/dagu-org/dagu

License

GNU General Public License v3.0