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

@tachui/devtools

v0.8.1-alpha

Published

Development & debugging tools for tachUI framework

Readme

@tachui/devtools

Development & debugging tools for the tachUI framework. Provides runtime inspection, performance profiling, component debugging, and development-only features that enhance the developer experience.

Features

🔍 Component Inspector

  • Runtime component tree inspection
  • Component props and state inspection
  • Modifier chain debugging
  • Visual component highlighting

📊 Performance Profiler

  • Real-time performance monitoring
  • Component render profiling
  • Memory usage tracking
  • Bundle size analysis

🐛 Debug Utilities

  • Enhanced console logging
  • Development error boundaries
  • Hot reload integration
  • Development panel overlay

🧪 Testing Utilities

  • Component testing helpers
  • Mock data providers
  • Visual regression testing
  • Accessibility testing

Installation

pnpm add @tachui/[email protected]

Usage

Component Inspector

import { ComponentInspector } from '@tachui/devtools'

const App = () => {
  return VStack().children([
    MainContent(),

    // Only in development
    Show(() => import.meta.env.DEV).children([
      ComponentInspector()
        .position('bottom-left')
        .features([
          'component-tree',
          'props-inspection',
          'state-inspection',
          'modifier-inspection',
        ])
        .hotkey('Cmd+Shift+I'),
    ]),
  ])
}

Performance Profiler

import { PerformanceProfiler } from '@tachui/devtools'

if (import.meta.env.DEV) {
  PerformanceProfiler.initialize({
    metrics: [
      'component-renders',
      'reactive-updates',
      'modifier-applications',
      'memory-usage',
      'bundle-size',
    ],
    thresholds: {
      renderTime: 16, // Warn if component render > 16ms
      memoryGrowth: 10, // Warn if memory grows > 10MB
      bundleSize: 500, // Warn if bundle > 500KB
      reactiveCycles: 50, // Warn if > 50 reactive updates/sec
    },
  })
}

Development Panel

import { DevPanel } from '@tachui/devtools'

const App = () => {
  return VStack().children([
    AppContent(),

    // Development panel overlay
    Show(() => import.meta.env.DEV).children([
      DevPanel()
        .position('bottom-right')
        .collapsible(true)
        .hotkey('Cmd+Shift+D')
        .tabs([
          'component-inspector',
          'performance-profiler',
          'memory-monitor',
          'network-inspector',
          'console-logger',
          'accessibility-checker',
        ]),
    ]),
  ])
}

API Reference

Component Inspector

  • ComponentInspector() - Main inspector component
  • PropInspector(component) - Props inspection utility
  • StateInspector(component) - State inspection utility
  • ModifierInspector() - Modifier chain inspector

Performance Profiler

  • PerformanceProfiler.initialize(config) - Initialize profiler
  • RenderProfiler.wrap(component, config) - Wrap component for profiling
  • MemoryProfiler.startMonitoring(config) - Start memory monitoring

Debug Utilities

  • DebugConsole.create(config) - Enhanced console logger
  • ErrorBoundary(options) - Development error boundary
  • HotReload.configure(config) - Hot reload configuration

Testing Utilities

  • ComponentTester.create(component) - Component testing helper
  • MockProvider.create(mocks) - Mock data provider
  • SnapshotTester.create(config) - Visual regression testing
  • A11yTester.create(config) - Accessibility testing

Development

# Install dependencies
pnpm install

# Start development
pnpm dev

# Run tests
pnpm test

# Build package
pnpm build

# Type check
pnpm type-check

# Lint
pnpm lint

Bundle Size

  • Total: ~35KB (gzipped)
  • Inspector: ~15KB
  • Profiler: ~10KB
  • Debug: ~5KB
  • Testing: ~5KB

Bundle Optimization (New in 0.8.1-alpha)

Enhanced production bundling with environment-specific exports:

  • Development Mode: Full debugging and profiling capabilities (~35KB)
  • Production Mode: Minimal stubs that tree-shake to near 0KB
  • Smart Exports: Conditional loading based on NODE_ENV and import.meta.env.DEV
  • Build Integration: Automatic exclusion from production bundles via Vite/Webpack plugins

Dependencies

Requires:

  • @tachui/core - Core framework functionality
  • @tachui/primitives - Basic UI components

Note: This package is automatically excluded from production bundles and only loads in development mode.

Contributing

See the main Contributing Guide for information on contributing to tachUI devtools functionality.