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

vanta-cli

v0.1.0

Published

Vanta Systems command-line interface

Downloads

23

Readme

vanta-cli

License npm Bun

The official command-line interface for Vanta Systems. Manage projects, authenticate, stream logs, and check usage — all from your terminal.

Installation · Quick Start · Commands · Configuration · Development


Installation

macOS / Linux

curl -fsSL https://vanta.systems/install.sh | bash

Windows (PowerShell)

irm https://vanta.systems/install.ps1 | iex

npm

npm install -g vanta-cli

Verify the install:

vanta --version

Quick Start

# 1. Authenticate
vanta login

# 2. Create a project
vanta init my-app
cd my-app

# 3. Check status
vanta status

Get your API key from vantasystems.org/dashboard/api-keys.


Commands

vanta login

Authenticate with your Vanta account. Validates your API key and stores credentials at ~/.vanta/credentials.

vanta login
vanta login --api-key vsk_live_...

vanta logout

Clear stored credentials.

vanta logout

vanta init [name]

Scaffold a new Vanta project.

vanta init my-project
vanta init my-project --template blank --dry-run

| Option | Description | |---|---| | --template <name> | Project template (default: blank) | | --skip-git | Skip git repo initialization | | --dry-run | Preview without creating files |

Creates: vanta.config.json, .env.example, README.md

vanta status

Display account status, plan, and current usage.

vanta status
vanta status --json

Shows: account name, email, plan, masked API key, usage progress, and days until next billing cycle.

vanta logs

Stream and search event logs.

vanta logs --tail 50
vanta logs --search "error"
vanta logs --from 2h
vanta logs --format json > events.json

| Option | Description | |---|---| | -n, --tail <count> | Show last N logs (default: 20) | | -f, --follow | Follow logs in real-time (coming soon) | | -s, --search <query> | Filter logs by keyword | | --from <duration> | Logs from N ago (e.g. 1h, 30m) | | --format <format> | Output format: text or json |

vanta config

Manage global CLI configuration.

vanta config list
vanta config get api_url
vanta config set api_url https://api.example.com
vanta config reset

| Key | Default | Description | |---|---|---| | api_url | https://api.vantasystems.org/v1 | Vanta API base URL | | debug | false | Enable debug logging |

vanta deploy

Deploy project configuration to Vanta.

vanta deploy
vanta deploy --dry-run
vanta deploy --force

Reads vanta.config.json, validates it, and pushes settings to the Vanta API.


Configuration

File Structure

~/.vanta/
├── credentials      # API key & auth token — keep out of Git!
├── config.json      # Global CLI settings
├── logs/            # Temporary log files
└── cache/           # Cache data

Environment Variables

VANTA_API_KEY=vsk_live_...      # API key (overrides stored login)
VANTA_API_URL=https://...       # Custom API URL
VANTA_CONFIG_DIR=~/.vanta       # Config directory
VANTA_DEBUG=true                # Enable debug logging

Project Config — vanta.config.json

{
  "name": "my-project",
  "version": "0.1.0",
  "apiKey": "vsk_live_...",
  "apiUrl": "https://api.vantasystems.org",
  "webhooks": []
}

Development

Prerequisites

  • Bun (or Node.js 18+)

Setup

git clone https://github.com/vantasys/vanta-cli
cd vanta-cli
bun install

Run

bun run src/cli.ts login     # Run a command in dev mode
bun run build                # Build for production
bun run compile              # Compile to standalone binary (./vanta)

Project Structure

src/
├── cli.ts              # Entry point
├── commands/           # Command implementations
│   ├── login.ts
│   ├── logout.ts
│   ├── init.ts
│   ├── status.ts
│   ├── logs.ts
│   ├── config.ts
│   └── deploy.ts
├── api/
│   └── client.ts       # HTTP client
├── config/
│   ├── paths.ts        # File path helpers
│   └── store.ts        # Config manager
├── utils/
│   └── logger.ts       # Formatted output
└── types/
    └── index.ts        # TypeScript interfaces

Security

Never commit your API key to Git. Credentials stored by vanta login are saved at ~/.vanta/credentials with 0600 permissions.

# Safe alternative: use environment variable
export VANTA_API_KEY=vsk_live_...

Troubleshooting

"API key is invalid" — Get a new key at vantasystems.org/dashboard/api-keys and run vanta login again.

"Cannot connect to Vanta API" — Check your connection or set a custom URL: vanta config set api_url https://your-api.com

"Not authenticated" — Run vanta login first.

Debug modeVANTA_DEBUG=true vanta status


Support


License

MIT — see LICENSE