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

@sgedda/mockifyer-dashboard

v1.4.8

Published

Standalone CLI dashboard for viewing and managing Mockifyer mock data

Downloads

514

Readme

Mockifyer Dashboard

Standalone CLI dashboard for viewing and managing Mockifyer mock data.

Installation

npm install -g @sgedda/mockifyer-dashboard

Or use with npx (no installation required):

npx @sgedda/mockifyer-dashboard

Usage

Basic Usage

# Auto-detect mock data path
npx mockifyer-dashboard

# Explicit path
npx mockifyer-dashboard --path ./mock-data

# Custom port
npx mockifyer-dashboard --port 8080

# Don't open browser automatically
npx mockifyer-dashboard --no-open

Options

  • -p, --path <path> - Path to mock data directory (default: auto-detected)
  • --port <port> - Port to run dashboard on (default: 3002)
  • --host <host> - Host to bind to (default: localhost)
  • --no-open - Don't open browser automatically
  • --provider <provider> - Database provider type (currently only 'filesystem' supported)

Environment Variables

  • MOCKIFYER_PATH - Path to mock data directory
  • MOCKIFYER_DB_PROVIDER - Database provider type

Features

  • 📁 Browse Mock Files - View all mock files with search and filtering
  • ✏️ Edit Mock Data - Edit response data with JSON editor
  • 📊 Statistics - View mock file statistics and usage
  • 🔍 Search - Search by filename, endpoint, or method
  • 💾 Save Changes - Save edited mock data back to files
  • 🗑️ Delete Mocks - Delete unwanted mock files

Path Detection

The dashboard automatically detects your mock data path by:

  1. Checking CLI --path argument
  2. Checking MOCKIFYER_PATH environment variable
  3. Walking up the directory tree looking for:
    • ./mock-data
    • ./persisted/mock-data
    • ./mock-data.db (SQLite)
  4. Defaulting to ./mock-data

Remote Access

The dashboard runs locally by default. To access from other machines:

npx mockifyer-dashboard --host 0.0.0.0

⚠️ Note: The dashboard reads files directly from the filesystem, so it must run on the same machine where your mock data files are located. For remote access, you would need to run the dashboard on the server and access it via network.

Development

# Run TypeScript directly (no build needed)
npm run dev

# Run TypeScript with auto-reload on file changes
npm run dev:watch

# Build compiled version
npm run build

# Run compiled version
npm start

# Watch TypeScript files and rebuild
npm run watch

Running TypeScript Directly

You can run the dashboard directly from TypeScript without building:

# Development mode (TypeScript)
npm run dev

# With options
npm run dev -- --path ./mock-data --port 8080

# Auto-reload on changes
npm run dev:watch

This is useful for development as you can make changes and see them immediately without rebuilding.