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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@observe1/cli

v1.1.7

Published

ObserveOne CLI - AI-powered website monitoring and testing from the command line

Readme

ObserveOne CLI

AI-powered website monitoring and testing from your terminal. Run intelligent browser tests directly from the command line with real-time progress updates.

Installation

npm install -g @observe1/cli

Quick Start

  1. Login to ObserveOne

    obs login
  2. List your tests

    obs list
  3. Run a test

    obs ai-check my-test

Commands

obs login

Authenticate with the ObserveOne platform.

# Interactive login (opens browser)
obs login

# Login with API key
obs login --api-key <your-api-key>

Options:

  • -k, --api-key <key> - API key for authentication

obs list

List all your available tests.

# Display as a table
obs list

# Output as JSON
obs list --format json

Options:

  • -f, --format <format> - Output format: table (default) or json

obs ai-check

Run AI-powered browser tests with live progress updates.

# Run test by name
obs ai-check my-test

# Run multiple tests
obs ai-check test1 test2 test3

# Run test by ID
obs ai-check 123

# Run with verbose output (see detailed steps)
obs ai-check my-test --verbose

# Run ad-hoc test (without saving to database)
obs ai-check --url https://example.com --prompt "Click the login button"

# Generate JUnit report
obs ai-check my-test --reporter junit --output results.xml

Options:

  • -u, --url <url> - URL to test (for ad-hoc tests)
  • -p, --prompt <prompt> - Test instructions (for ad-hoc tests)
  • -n, --name <name> - Test name (for ad-hoc tests)
  • -d, --description <description> - Test description (for ad-hoc tests)
  • -t, --timeout <timeout> - Timeout in milliseconds (default: 300000)
  • -v, --verbose - Show detailed step-by-step execution
  • --adhoc - Run as ad-hoc test without saving
  • --reporter <reporter> - Output reporter: console (default), junit, or json
  • -o, --output <file> - Output file for reports

Live Progress Features:

  • Real-time updates: Watch your test execution live with step-by-step progress
  • Compact mode (default): Shows spinner with current step and elapsed time
  • Verbose mode (--verbose): Displays detailed logs of every action
  • Screenshot tracking: Shows count of screenshots captured
  • Log files: Full execution logs saved to .obs/logs/execution-<id>.log

Global Options

Available for all commands:

obs <command> [options]

Options:

  • -v, --verbose - Enable verbose output
  • --json - Output in JSON format
  • --api-url <url> - Override API URL
  • --api-key <key> - Override API key
  • --version - Show version number
  • --help - Show help

Configuration

Global Configuration

Stored in your system's config directory:

  • macOS/Linux: ~/.config/obs/config.json
  • Windows: %APPDATA%/obs/config.json

Project Configuration

Create .obs.config.json in your project root:

{
  "project": {
    "name": "My Project",
    "description": "Project description"
  },
  "apiUrl": "https://api.observeone.com",
  "defaultOptions": {
    "timeout": 300000,
    "retries": 3,
    "verbose": false
  }
}

Environment Variables

# Override API URL
export OBS_API_URL=https://api.observeone.com

# Override API key
export OBS_API_KEY=your-api-key

# Enable verbose mode
export OBS_VERBOSE=true

# Enable JSON output
export OBS_JSON_OUTPUT=true

Examples

Run tests and watch progress

# Run with compact progress (default)
obs ai-check homepage-test

# Run with detailed step-by-step output
obs ai-check homepage-test --verbose

Ad-hoc testing

# Quick test without saving
obs ai-check \
  --url https://example.com \
  --prompt "Navigate to login page and verify the form exists" \
  --name "Login Page Check"

CI/CD Integration

# Generate JUnit XML for CI systems
obs ai-check my-test --reporter junit --output test-results.xml

# JSON output for parsing
obs ai-check my-test --reporter json --output results.json

# Exit code: 0 for success, 1 for failure
obs ai-check my-test && echo "Tests passed!"

Logs

Detailed execution logs are automatically saved to your system's config directory:

  • Windows: %APPDATA%\observeone-nodejs\Config\logs\
  • macOS/Linux: ~/.config/observeone-nodejs/logs/

Log files are named: execution-<task-id>-<timestamp>.log

Each log includes:

  • Timestamp
  • Step-by-step actions
  • Goals and results
  • Screenshot captures
  • Final completion status

Support

License

MIT


Happy Testing! 🚀