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

@vectorforge-ai/cli

v1.0.1

Published

VectorForge CLI - Command-line tool for verification, registration, and streaming

Readme

VectorForge CLI

Command-line tool for VectorForge verification, registration, and streaming.

Installation

npm install
npm run build
npm link  # Make 'vf' command available globally

Configuration

Set environment variables:

export VF_API_BASE_URL=https://api.vectorforge.ai
export VF_API_KEY=vf_prod_...

Or use CLI flags: --base-url and --api-key

Commands

vf register

Register content to create a DIVT (Digital Integrity Verification Token).

# Register a JSON file
vf register --object-id doc-123 --file data.json --hash-mode json

# Register content directly
vf register --object-id doc-456 --content '{"foo":"bar"}' --hash-mode json

# Register text content
vf register --object-id text-789 --content "Hello world" --hash-mode content

Options:

  • --object-id <id> - Object identifier (required)
  • --file <path> - Path to file to register
  • --content <data> - Content to register (alternative to --file)
  • --hash-mode <mode> - Hash mode: json, content, embedding, image (default: json)
  • --data-type <type> - Data type (e.g., prompt_receipt_v1)
  • --json - Output raw JSON response

vf verify

Verify a DIVT against content.

# Verify with a file
vf verify --divt-id 01933e42-... --file data.json

# Verify with content directly
vf verify --divt-id 01933e42-... --content '{"foo":"bar"}'

Options:

  • --divt-id <id> - DIVT identifier (required)
  • --file <path> - Path to file to verify
  • --content <data> - Content to verify (alternative to --file)
  • --json - Output raw JSON response

Exit code: 0 if verified, 1 if not verified or error.

vf bundle

Get verification bundle (AI receipt) for a DIVT or object.

# Get bundle by DIVT ID
vf bundle --divt-id 01933e42-...

# Get bundle by object ID
vf bundle --object-id doc-123

# Include full history
vf bundle --divt-id 01933e42-... --include-history

# Save to file
vf bundle --divt-id 01933e42-... --output bundle.json

Options:

  • --divt-id <id> - DIVT identifier
  • --object-id <id> - Object identifier
  • --include-history - Include full worldstate history
  • --output <path> - Write full JSON bundle to file
  • --json - Output raw JSON response to stdout

vf stream

Stream recent events via Server-Sent Events (SSE).

# Stream recent events
vf stream

# Stream with filters
vf stream --limit 10 --types scoring_event,divt_registered

# Stream since a specific time
vf stream --since 2025-11-20T10:00:00Z

Options:

  • --since <iso8601> - Only fetch events since this timestamp
  • --limit <n> - Maximum number of events to fetch (default: 50)
  • --types <csv> - Comma-separated list of event types
  • --json - Collect events and output as JSON array

Examples

# Full workflow example
export VF_API_BASE_URL=https://api.vectorforge.ai
export VF_API_KEY=vf_prod_...

# 1. Register content
vf register --object-id demo-doc --file document.json --hash-mode json
# Output: DIVT ID: 01933e42-...

# 2. Verify content
vf verify --divt-id 01933e42-... --file document.json
# Output: ✓ Verification PASSED

# 3. Get verification bundle
vf bundle --divt-id 01933e42-...
# Output: Human-readable bundle with crypto + scoring + worldstate

# 4. Stream recent events
vf stream --limit 5
# Output: Live stream of recent events

Development

# Build
npm run build

# Watch mode
npm run dev

License

MIT