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

@voyantjs/cli

v0.26.0

Published

Unified CLI for the Voyant open-source framework and the Voyant Cloud platform.

Readme

@voyantjs/cli

Unified CLI for the Voyant open-source framework and the Voyant Cloud platform.

npm i -g @voyantjs/cli
voyant --help

Open-source commands (no login)

| Command | What it does | | --- | --- | | voyant new <name> [--template <name\|path>] | Clone a starter into <name>/ | | voyant generate module <name> | Scaffold a module package under packages/<name> | | voyant generate link <a> <b> | Print a defineLink snippet — <a> and <b> as <module>.<entity> | | voyant config <show\|validate\|path> | Inspect the nearest voyant.config.* | | voyant db <generate\|migrate\|studio\|push\|check> | Proxy drizzle-kit to the project root | | voyant db sync-links [--out <file>] | Emit DDL for cross-module link tables | | voyant exec <script.ts> [args…] | Run a TS/JS script with native strip-types | | voyant dev --file <path> | Watch + serve workflows locally | | voyant workflows <subcommand> | Build, serve, inspect, and self-host workflows | | voyant --version | Print the CLI version |

Cloud commands (Voyant Cloud login)

| Command | What it does | | --- | --- | | voyant login | Browser device-code flow (RFC 8628) | | voyant login --token tok_… | Paste-token mode (CI / headless) | | voyant logout | Remove the stored credential | | voyant whoami | Show the resolved API URL + token source | | voyant vaults list | List vaults visible to the current credential | | voyant secrets list <vault> | List secret keys + versions | | voyant secrets get <vault> <key> | Fetch a single secret value (pipe-friendly) | | voyant secrets set <vault> <key> [value] | Upsert a secret (stdin if value omitted) | | voyant secrets rm <vault> <key> | Delete a secret |

Configuration

Cloud commands accept these inputs in priority order:

  • --token <value> flag
  • VOYANT_CLOUD_API_KEY env var
  • ~/.voyant/credentials.json (created by voyant login, mode 0600, keyed by API URL — multiple environments coexist cleanly)

--api-url <url> and VOYANT_CLOUD_API_URL likewise override the default https://api.voyantjs.com.

Workflow bundles

voyant workflows build --platform node emits bundle.mjs for Node's native ESM loader and expects the bundle to be imported from a filesystem path or file: URL. Node bundles may include a createRequire(import.meta.url) shim so valid Node dependencies that dynamically require built-ins such as stream can load during manifest extraction and in the self-hosted Node runner.

Use --platform neutral or --platform browser for runtimes that do not load workflow bundles from the filesystem.

Programmatic use

@voyantjs/cli exposes its lib helpers and command handlers for embedding in scripts and other tools:

import { resolveSchemas } from "@voyantjs/cli/drizzle"
import { runDeviceCodeFlow } from "@voyantjs/cli/lib/device-code"
import { resolveCloudAuth } from "@voyantjs/cli/lib/cloud-client"
import { setCredential } from "@voyantjs/cli/lib/credentials"
import { newCommand } from "@voyantjs/cli/commands/new"

Subpath exports under ./commands/* and ./lib/* are stable; see the package.json exports field for the full list.

Requirements

  • Node 20+ (Node 22.6+ recommended for the strip-types runner used by voyant exec and voyant db sync-links).

Source

github.com/voyantjs/cli

License

Apache-2.0