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

@toani/vault-cli

v0.0.3

Published

Toani Vault CLI

Readme

@toani/vault-cli

Toani Vault npm CLI package.

  • Package: @toani/vault-cli
  • Executable: toani

Install

npm install -g @toani/vault-cli

Configure

Recommended CLI bootstrap:

  1. Sign in to the web app.
  2. Open Profile -> Automation Access.
  3. Create an automation token for your tenant scopes.
  4. Configure the CLI with that token:
toani config init --url https://dev-credbridge.bitkinetic.com/ --token <AUTOMATION_TOKEN>

Config is stored at ~/.toani/config.json with fields:

  • baseUrl
  • token
  • currentTenantId
  • currentProfile
  • profiles
  • output (table or json)
  • timeout

Token resolution priority:

  1. explicit --token
  2. active profile token
  3. env TOANI_VAULT_TOKEN

Base URL resolution priority:

  1. explicit --base-url
  2. env TOANI_BASE_URL
  3. env CREDBRIDGE_BASE_URL
  4. config.baseUrl
  5. default https://dev-credbridge.bitkinetic.com/

Commands

toani auth status
toani auth use-tenant <tenant-id>
toani auth token create --name <name> --scope <scope1,scope2> [--ttl-seconds 900] [--save]
toani auth token list
toani auth token get <token-id>
toani auth token revoke <token-id>
toani auth access-token create --scope <scope1,scope2> [--ttl-seconds 900] [--store]
toani auth access-token revoke --token-id <id>
toani auth me
toani auth memberships
toani auth logout

toani credentials list [--service-id <id>] [--credential-type <type>]
toani credentials get <credentialId>
toani credentials create --service-id <id> --credential-type <type> --data '{"k":"v"}'
toani credentials delete <credentialId>
toani credentials decrypt <credentialId> [--reason <text>]

toani tokens create [--expires-in 3600] [--scope credential:read]
toani tokens list
toani tokens get <token-id>
toani tokens verify [--token <token>]
toani tokens stats
toani tokens revoke [--token-id <id>]

toani service-accounts create --name <name> --scope <scope1,scope2> [--description <text>]
toani service-accounts list
toani service-accounts get <id>
toani service-accounts update <id> [--name <name>] [--description <text>] [--status <active|disabled|deleted>] [--scope <scope1,scope2>]
toani service-accounts token create <service-account-id> --scope <scope1,scope2> [--ttl-seconds 3600] [--display-name <name>]
toani service-accounts token list <service-account-id>

toani sandbox create-session --service-id <service> --original-intent <intent> [--credential-id <id>] [--start-url <url>]
toani sandbox list-sessions
toani sandbox get-session <sessionId>
toani sandbox terminate <sessionId>
toani sandbox execute <sessionId> --operation-type <type> [--params '{"selector":"#btn"}']
toani sandbox get-operation <operationId>
toani sandbox stats

toani audit logs [--from <iso>] [--to <iso>] [--action <name>] [--service <name>] [--outcome <ok|error>] [--limit 50]
toani audit export [--format json|csv] [--from <iso>] [--to <iso>]
toani audit verify [--payload '{"log_id":"..."}']

toani config show
toani config set <key> <value>
toani config get <key>
toani config profile create <name>
toani config profile use <name>
toani config profile show

Notes

  • auth logout is local-only and clears the configured bearer token.
  • auth token create --save writes the created automation token into the active profile.
  • CLI integrations only use bearer tokens. Browser-side Privy/session flows are not exposed as CLI commands.
  • automation token, access token, and service account token all use the same Bearer call pattern in the CLI.