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

deno-kv-explorer

v1.2.0

Published

A beautiful web interface for exploring and managing Deno KV databases

Readme

🗄️ Deno KV Explorer

Deno KV Explorer

A beautiful web interface for exploring and managing Deno KV databases.

License: MIT TypeScript Bun

✨ Features

  • 🎨 Beautiful UI - Modern design with clean aesthetics
  • 🔍 Advanced Search & Filtering - Real-time search across keys and values
  • 📁 Namespace Management - Create and manage multiple namespaces with ease
  • Real-time Updates - Live synchronization across multiple browser sessions
  • 🚀 Performance Optimized - Fast and responsive with efficient data handling
  • 📱 Responsive Design - Works perfectly on desktop, tablet, and mobile devices
  • 🎯 Intuitive UX - Clean, modern interface with helpful visual feedback
  • 🔧 Developer Friendly - Built with TypeScript and modern web technologies

� Screenshots

🔐 Login Screen

Optional password protection with session-based authentication

🗄️ Main Interface

Clean, modern interface for managing your Deno KV database

�🚀 Quick Start

Prerequisites

Installation

Option 1: Using bunx/npx (Recommended)

# Run directly without installation (from npm)
bunx deno-kv-explorer
# OR
npx deno-kv-explorer

# With environment variables
KV_URL=http://localhost:4512 PASSWORD=mysecret bunx deno-kv-explorer

Option 2: Install Globally

# Install from npm
npm install -g deno-kv-explorer

# Then run
deno-kv-explorer

# Or with environment variables
KV_URL=http://localhost:4512 PASSWORD=mysecret deno-kv-explorer

Option 3: Local Development

# Clone the repository
git clone https://github.com/akshit-wtf/deno-kv-explorer
cd deno-kv-explorer

# Install dependencies
bun install

# Configure environment (optional)
cp .env.example .env
# Edit .env with your settings

Option 4: Docker (Recommended for Production)

# Using pre-built image from GitHub Container Registry
docker run -p 4055:4055 \
  -e KV_URL=your_kv_url \
  -e PASSWORD=your_password \
  ghcr.io/akshit-wtf/deno-kv-explorer:latest

# Or with docker-compose
git clone https://github.com/akshit-wtf/deno-kv-explorer
cd deno-kv-explorer
# Edit .env with your settings
docker-compose up -d

Running the Application

Local Development

# Development mode with hot reload
bun run dev

# Production mode
bun start

Docker

# Using Docker Compose (recommended)
docker-compose up -d

# Or build and run manually
docker build -t deno-kv-explorer .
docker run -p 4055:4055 --env-file .env deno-kv-explorer

The application will be available at http://localhost:4055

📱 Mobile Support

Deno KV Explorer is fully responsive and optimized for mobile devices:

  • Touch-friendly interface with appropriate button sizes
  • Mobile sidebar that slides in/out smoothly
  • Responsive layouts that adapt to screen size
  • Optimized typography for readability on small screens

🏗️ Architecture

Deno KV Explorer is built with modern web technologies:

  • Backend: Bun runtime with WebSocket support
  • Frontend: Vanilla JavaScript with Tailwind CSS
  • Database: Deno KV for persistent storage
  • Real-time: WebSocket-based live updates
  • Design: Modern UI with glass morphism aesthetics

📖 Usage

Creating Namespaces

  1. Enter a namespace name in the sidebar input
  2. Press Enter or click "Create"
  3. The namespace will be created and automatically selected

Managing Entries

  • Add Entry: Fill in the key and value (JSON format), then click "Add Entry"
  • Edit Entry: Click the "Edit" button on any entry to populate the form
  • Delete Entry: Click the "Delete" button and confirm the action
  • Search: Use the search bar to filter entries by key or value
  • Sort: Use the dropdown to sort entries by key or creation time

Features

  • Real-time Sync: Changes are instantly visible across all connected sessions
  • Search & Filter: Quickly find entries with the built-in search functionality
  • Export/Import: Backup and restore your data in JSON format
  • Mobile Responsive: Full mobile support with touch-friendly interface
  • Docker Ready: Easy deployment with Docker and Docker Compose
  • Password Protection: Optional password protection for secure access
  • Session Management: Session-based authentication that expires on page reload

🔒 Security

Password Protection

Deno KV Explorer supports optional password protection:

# Set password via environment variable
PASSWORD=your_secure_password bunx deno-kv-explorer

# Or in .env file
echo "PASSWORD=your_secure_password" >> .env

Security Features:

  • Session-based authentication
  • Password expires on page reload/close
  • No persistent login storage
  • Optional protection (disabled by default)

🛠️ Configuration

Environment Variables

Create a .env file from the example:

cp .env.example .env

Available configuration options:

| Variable | Description | Default | |----------|-------------|---------| | DENO_KV_ACCESS_TOKEN | Your Deno KV access token | Required | | KV_URL | Deno KV server URL | http://localhost:4512 | | PORT | Application port | 4055 | | PASSWORD | Access password (optional) | Not set (no password) | | NODE_ENV | Environment mode | development |

Docker Configuration

For Docker deployments, use the provided docker-compose.yml:

version: '3.8'
services:
  deno-kv-explorer:
    build: .
    ports:
      - "4055:4055"
    environment:
      - DENO_KV_ACCESS_TOKEN=your_token_here
      - KV_URL=http://your_kv_server:4512

🐳 Docker Deployment

Production Deployment

  1. Clone and configure:

    git clone https://github.com/akshit-wtf/deno-kv-explorer
    cd deno-kv-explorer
    cp .env.example .env
    # Edit .env with your production values
  2. Deploy with Docker Compose:

    docker-compose up -d
  3. Monitor logs:

    docker-compose logs -f deno-kv-explorer

Health Checks

The Docker container includes built-in health checks:

  • Endpoint: GET /
  • Interval: 30 seconds
  • Timeout: 10 seconds
  • Retries: 3 attempts

Scaling

To run multiple instances:

docker-compose up -d --scale deno-kv-explorer=3

📦 npm Package

This project is published to npm for easy installation and distribution.

Installing from npm

The package is available as a public npm package:

# No special configuration needed for public npm packages
# Install globally
npm install -g deno-kv-explorer

# Or run directly
npx deno-kv-explorer
bunx deno-kv-explorer

Publishing

Publishing is automated via GitHub Actions when a release is created:

  1. Create a release on GitHub with a version tag (e.g., v1.0.1)
  2. GitHub Actions automatically builds and publishes to npm
  3. Docker images are also built and pushed to GitHub Container Registry

For manual publishing:

# Ensure you're authenticated with npm
npm login

# Publish
npm publish

Docker Images

Docker images are available from GitHub Container Registry:

# Pull the latest image
docker pull ghcr.io/akshit-wtf/deno-kv-explorer:latest

# Run the container
docker run -p 4055:4055 ghcr.io/akshit-wtf/deno-kv-explorer:latest

📦 Project Structure

deno-kv-explorer/
├── index.ts          # Main server and WebSocket logic
├── index.html        # Frontend application
├── package.json      # Project configuration
├── tsconfig.json     # TypeScript configuration
├── Dockerfile        # Docker container configuration
├── docker-compose.yml # Docker Compose setup
├── .env.example      # Environment variables template
├── .dockerignore     # Docker ignore patterns
└── README.md         # Documentation

🎨 Design Philosophy

Deno KV Explorer follows the principles of simplicity and functionality:

  • Simplicity: Clean, uncluttered interface
  • Precision: Carefully crafted user experience
  • Elegance: Beautiful visual design with subtle animations
  • Functionality: Every feature serves a clear purpose

🎨 Gallery

| Feature | Preview | |---------|---------| | 🔐 Secure Access | | | 🗂️ Database Management | |

Experience the modern, intuitive interface designed for productivity

🤝 Contributing

We welcome contributions! Please feel free to submit issues and pull requests.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.