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

@bpmn-sdk/cli

v0.0.9

Published

Camunda v2 REST API command-line interface

Downloads

801

Readme

casen

CLI for the Camunda 8 Orchestration Cluster REST API (v2).

Commands are auto-generated from the official OpenAPI specs — every resource and operation stays in sync automatically. See DOCUMENTATION.md for the full command reference.

Features

  • All API resources — process instances, jobs, user tasks, decisions, users, groups, tenants, and more
  • Multiple profiles — store named connection configs and switch between them instantly
  • Three output formats — human-readable table (default), --output json, --output yaml
  • Shell completions — bash, zsh, and fish
  • Zero dependencies — no runtime requirements beyond Node.js

Installation

# From the monorepo root
pnpm build

# Then link globally (optional)
npm link ./apps/cli

Quick start

1. Create a profile

# Bearer token (local / self-managed)
casen profile create local \
  --base-url http://localhost:8080/v2 \
  --auth-type bearer \
  --token my-token

# OAuth2 (Camunda SaaS)
casen profile create prod \
  --base-url https://<cluster-id>.camunda.io/v2 \
  --auth-type oauth2 \
  --client-id <client-id> \
  --client-secret <client-secret> \
  --token-url https://login.cloud.camunda.io/oauth/token

The first profile created becomes the active profile automatically.

Import from a Camunda Cloud credentials file

When you create a client in Camunda Cloud, you can download a credentials file containing export KEY='VALUE' declarations. Import it directly:

casen profile import prod ./camunda-credentials.sh

# or pipe via stdin
cat camunda-credentials.sh | casen profile import prod -

The file must contain at least:

| Variable | Fallback | |----------|----------| | ZEEBE_REST_ADDRESS | (required) | | CAMUNDA_CLIENT_ID | ZEEBE_CLIENT_ID | | CAMUNDA_CLIENT_SECRET | ZEEBE_CLIENT_SECRET | | CAMUNDA_OAUTH_URL | ZEEBE_AUTHORIZATION_SERVER_URL |

2. Run a command

casen process-instance list --filter '{"state":"ACTIVE"}'
casen user-task list --filter '{"assignee":"alice"}'
casen process-instance create --data '{"processDefinitionId":"order-process"}'

Profiles

Profiles store connection configuration in the OS config directory:

| Platform | Location | |----------|----------| | Linux | $XDG_CONFIG_HOME/casen/config.json or ~/.config/casen/config.json | | macOS | ~/Library/Application Support/casen/config.json | | Windows | %APPDATA%\casen\config.json |

Use --profile <name> on any command to temporarily override the active profile.

Output formats

Results can be printed as a table (default), JSON, or YAML via --output json / --output yaml. Colors and table formatting are automatically disabled when stdout is not a TTY or when NO_COLOR is set.

Shell completions

# zsh
mkdir -p ~/.zfunc && casen completion zsh > ~/.zfunc/_casen
# add to ~/.zshrc: fpath=(~/.zfunc $fpath) && autoload -Uz compinit && compinit

# bash
casen completion bash >> ~/.bash_completion

# fish
casen completion fish > ~/.config/fish/completions/casen.fish

Help

casen --help                       # Global help
casen <resource> --help            # Resource-level help
casen <resource> <command> --help  # Command-level help

For all available resources and commands see DOCUMENTATION.md.