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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@swappableqm/swapperctl

v0.0.2

Published

The command-line interface for Swapper, the easiest way to orchestrate Personal Proxmox IOMMU hosts

Readme

swapperctl

A new CLI generated with oclif

oclif Version Downloads/week

Usage

$ npm install -g @swappableqm/swapperctl
$ swapperctl COMMAND
running command...
$ swapperctl (--version)
@swappableqm/swapperctl/0.0.2 linux-x64 node-v24.1.0
$ swapperctl --help [COMMAND]
USAGE
  $ swapperctl COMMAND
...

Commands

swapperctl active

View the current active QM and its' status

USAGE
  $ swapperctl active [--json] [--api-secret <value>] [--api-url <value>]

SWAPPER API FLAGS
  --api-secret=<value>  The API secret for the Swapper API server
  --api-url=<value>     The URL of the Swapper API server

OUTPUT FLAGS
  --json  Output in JSON format

DESCRIPTION
  View the current active QM and its' status

ALIASES
  $ swapperctl active overview
  $ swapperctl qm active

EXAMPLES
  $ swapperctl active

See code: src/commands/active/index.ts

swapperctl active overview

View the current active QM and its' status

USAGE
  $ swapperctl active overview [--json] [--api-secret <value>] [--api-url <value>]

SWAPPER API FLAGS
  --api-secret=<value>  The API secret for the Swapper API server
  --api-url=<value>     The URL of the Swapper API server

OUTPUT FLAGS
  --json  Output in JSON format

DESCRIPTION
  View the current active QM and its' status

ALIASES
  $ swapperctl active overview
  $ swapperctl qm active

EXAMPLES
  $ swapperctl active overview

swapperctl active stop

Stop the active QM

USAGE
  $ swapperctl active stop [--json] [--api-secret <value>] [--api-url <value>]

SWAPPER API FLAGS
  --api-secret=<value>  The API secret for the Swapper API server
  --api-url=<value>     The URL of the Swapper API server

OUTPUT FLAGS
  --json  Output in JSON format

DESCRIPTION
  Stop the active QM

EXAMPLES
  $ swapperctl active stop

See code: src/commands/active/stop.ts

swapperctl active sync

Sync devices to the active QM

USAGE
  $ swapperctl active sync [--json] [--api-secret <value>] [--api-url <value>]

SWAPPER API FLAGS
  --api-secret=<value>  The API secret for the Swapper API server
  --api-url=<value>     The URL of the Swapper API server

OUTPUT FLAGS
  --json  Output in JSON format

DESCRIPTION
  Sync devices to the active QM

EXAMPLES
  $ swapperctl active sync

See code: src/commands/active/sync.ts

swapperctl help [COMMAND]

Display help for swapperctl.

USAGE
  $ swapperctl help [COMMAND...] [-n]

ARGUMENTS
  COMMAND...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for swapperctl.

See code: @oclif/plugin-help

swapperctl qm

View list of all swappable QMs

USAGE
  $ swapperctl qm [--json] [--api-secret <value>] [--api-url <value>]

SWAPPER API FLAGS
  --api-secret=<value>  The API secret for the Swapper API server
  --api-url=<value>     The URL of the Swapper API server

OUTPUT FLAGS
  --json  Output in JSON format

DESCRIPTION
  View list of all swappable QMs

ALIASES
  $ swapperctl qm list

EXAMPLES
  $ swapperctl qm

See code: src/commands/qm/index.ts

swapperctl qm active

View the current active QM and its' status

USAGE
  $ swapperctl qm active [--json] [--api-secret <value>] [--api-url <value>]

SWAPPER API FLAGS
  --api-secret=<value>  The API secret for the Swapper API server
  --api-url=<value>     The URL of the Swapper API server

OUTPUT FLAGS
  --json  Output in JSON format

DESCRIPTION
  View the current active QM and its' status

ALIASES
  $ swapperctl active overview
  $ swapperctl qm active

EXAMPLES
  $ swapperctl qm active

swapperctl qm list

View list of all swappable QMs

USAGE
  $ swapperctl qm list [--json] [--api-secret <value>] [--api-url <value>]

SWAPPER API FLAGS
  --api-secret=<value>  The API secret for the Swapper API server
  --api-url=<value>     The URL of the Swapper API server

OUTPUT FLAGS
  --json  Output in JSON format

DESCRIPTION
  View list of all swappable QMs

ALIASES
  $ swapperctl qm list

EXAMPLES
  $ swapperctl qm list

swapperctl qm overview QMID

View the current active QM and its' status

USAGE
  $ swapperctl qm overview QMID [--json] [--api-secret <value>] [--api-url <value>]

ARGUMENTS
  QMID  The ID of the QM to view

SWAPPER API FLAGS
  --api-secret=<value>  The API secret for the Swapper API server
  --api-url=<value>     The URL of the Swapper API server

OUTPUT FLAGS
  --json  Output in JSON format

DESCRIPTION
  View the current active QM and its' status

ALIASES
  $ swapperctl qm overview

EXAMPLES
  $ swapperctl qm overview

See code: src/commands/qm/overview.ts

swapperctl qm swap QMID

Swap the active QM

USAGE
  $ swapperctl qm swap QMID [--json] [--api-secret <value>] [--api-url <value>]

ARGUMENTS
  QMID  The ID of the QM to swap to

SWAPPER API FLAGS
  --api-secret=<value>  The API secret for the Swapper API server
  --api-url=<value>     The URL of the Swapper API server

OUTPUT FLAGS
  --json  Output in JSON format

DESCRIPTION
  Swap the active QM

ALIASES
  $ swapperctl qm swap

EXAMPLES
  $ swapperctl qm swap

See code: src/commands/qm/swap.ts