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

@quantum-hub/qhubctl

v1.9.0

Published

Kipu Quantum Hub CLI

Readme

qhubctl

qhubctl, is a Command Line Interface (CLI) which lets you interact with the Kipu Quantum Hub from your terminal.

Detailed information about the supported commands can be found in our CLI reference.

Installation

Node.js 20 or higher is required. Install it via a Node version manager or a Node installer.

npm install -g @quantum-hub/qhubctl

Troubleshooting: If you see EACCES permissions errors, use nvm or see the npm docs.

Usage

qhubctl --help
qhubctl <command> --help

Development

Build

npm install
npm run build

Compiles TypeScript from src/ to dist/. The CLI entry point is dist/main.js.

Run locally

node dist/main.js <command>

Watch mode

For active development, run the TypeScript compiler in watch mode so every file save triggers an incremental rebuild:

npm run dev

qhubctl will reflect your latest changes on the next invocation without any manual rebuild step.

Linking globally with npm link

npm link registers a global qhubctl symlink that points permanently to dist/main.js in your local checkout. Run it once after the initial setup:

npm run build
npm link
qhubctl <command>   # now resolves to your local build

The symlink persists across rebuilds and watch-mode recompiles — you never need to run npm link again unless you delete and re-clone the repo or change the "bin" entry in package.json.

Note: npm link and a globally installed published version of qhubctl are mutually exclusive — they occupy the same path. The last one to run wins. Use which qhubctl or qhubctl --version to confirm which is currently active.

To switch back to the published version from npm:

npm unlink -g @quantum-hub/qhubctl   # removes the local symlink
npm install -g @quantum-hub/qhubctl  # installs the published version

To go back to your local dev version:

npm link

Run against staging

node dist/main.js login --base-path https://api.hub.34.90.225.20.nip.io -t <personal access token>

Debug output

Set DEBUG=* to print all debug output:

DEBUG=* node dist/main.js <command>

On Windows, set the variable separately:

set DEBUG=*
node dist\main.js <command>

Tests

npm test                    # run tests + lint
npm run test:coverage       # run tests with lcov coverage report

Lint

npm run lint

Generate docs

Produces a Markdown CLI reference at docs/cli-reference.md from the compiled program:

npm run build
npm run docs:generate

Regenerating the API client

The generated clients in src/client/ are produced from the platform OpenAPI specs using openapi-generator-cli.

npm install -g @openapitools/openapi-generator-cli

Against production:

openapi-generator-cli generate -g typescript-fetch \
  -i https://api.hub.kipu-quantum.com/qc-catalog/docs \
  -o src/client/kqh

openapi-generator-cli generate -g typescript-fetch \
  -i https://api.hub.kipu-quantum.com/user-service/docs \
  -o src/client/users

Against staging:

openapi-generator-cli generate -g typescript-fetch \
  -i https://api.hub.34.90.225.20.nip.io/qc-catalog/docs \
  -o src/client/kqh

openapi-generator-cli generate -g typescript-fetch \
  -i https://api.hub.34.90.225.20.nip.io/user-service/docs \
  -o src/client/users

License

Apache-2.0 | Copyright 2026-now Kipu Quantum GmbH