JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q78244F
  • License MIT

A PostgreSQL database viewer with a web interface you can run locally

Package Exports

  • pg-viewer
  • pg-viewer/cli.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pg-viewer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

pg-viewer

A PostgreSQL database viewer with a web interface you can run locally.

Usage

Quick Start

# Run with interactive prompt
pnpx pg-viewer

# Run with database URL directly
npx pg-viewer -u postgres://user:password@localhost:5432/database

Installation

pnpm install -g pg-viewer

Options

  • -u, --url <url> - PostgreSQL database URL
  • -h, --help - Show help message

Features

  • Secure HTTPS server - Uses self-signed certificates for local development
  • Database exploration - Browse schemas, tables, and data
  • Data visualization - View and edit table data with a modern interface
  • SQL console - Execute custom SQL queries

Requirements

  • Node.js 18.0.0 or higher
  • PostgreSQL database

Security

The application runs a local HTTPS server on https://local.pg.aruu.me with self-signed certificates. Your database credentials are never sent to external servers - everything runs locally on your machine.

Development

This package contains a pre-built Next.js application. For development and customization, visit the source repository.

License

MIT

Author

Created by Elora