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

kanmi-perf-advanced

v2.0.5

Published

Advanced performance monitoring with browser extension capabilities - Premium tier of KanmiPerf

Readme

KanmiPerf Advanced

Premium performance monitoring with browser extension capabilities and AI-powered recommendations.

KanmiPerf Advanced is the premium tier of the KanmiPerf suite, bringing advanced browser extension functionality directly into your web applications. Get real-time monitoring, regression detection, quick fixes, and intelligent performance recommendations.

Features

Advanced Analytics

  • Real-time monitoring with configurable intervals
  • Performance regression detection with baseline comparison
  • Trend analysis for performance metrics over time
  • Historical data tracking with export capabilities

Intelligent Scoring & Comparison

  • Comprehensive performance scoring (0-100 scale)
  • Site rating system (1-5 stars) with comparison to visited sites
  • Multi-factor analysis covering loading, interactivity, visual stability
  • Technology stack detection for contextual recommendations

⚡ Quick Performance Fixes

  • Automated optimizations you can apply with one click
  • Image optimization (lazy loading, dimensions, compression hints)
  • CSS optimization (non-blocking stylesheets)
  • Script optimization (async/defer attributes)
  • Layout stability fixes (CLS reduction)

AI-Style Recommendations

  • Context-aware suggestions based on your tech stack
  • Prioritized recommendations by impact and complexity
  • Framework-specific optimizations (React, Vue, Angular)
  • Estimated performance improvements for each suggestion

Enhanced Reporting

  • Detailed performance reports with all metrics and insights
  • Export capabilities (JSON, CSV formats)
  • Visual performance indicators and badges
  • Console command interface for power users

Installation

Via CDN

<script src="https://cdn.jsdelivr.net/gh/konfirmed/kanmi-perf/packages/kanmi-perf-advanced/dist/kanmi-perf-advanced.min.js"></script>

Via npm

npm install kanmi-perf-advanced

ES Modules

import KanmiPerfAdvanced from 'kanmi-perf-advanced';

Free License Key Required

KanmiPerf Advanced is completely free but requires a license key for access control.

📧 Get your free license key: Email [email protected] with:

  • Your name/company
  • Intended use case
  • Website URL (optional)

You'll receive your license key within 24 hours!

Quick Start

// Initialize with your license key
await KanmiPerfAdvanced.init({
  licenseKey: 'your-license-key-here',
  autoStartMonitoring: true,
  monitoringInterval: 5000 // 5 seconds
});

// Get comprehensive performance score
const score = KanmiPerfAdvanced.getPageScore();
console.log('Performance Score:', score); // 0-100

// Get AI recommendations
const recommendations = KanmiPerfAdvanced.generateRecommendations();
console.log('Recommendations:', recommendations);

// Apply quick fixes
const fixes = await KanmiPerfAdvanced.suggestQuickFixes();
for (const fix of fixes) {
  if (fix.userCanFix) {
    const result = await KanmiPerfAdvanced.applyQuickFix(fix.type);
    console.log('Applied fix:', result);
  }
}

// Compare with other sites you've visited
const comparison = await KanmiPerfAdvanced.compareWithSimilarSites();
console.log('Site comparison:', comparison);

Advanced Usage

Real-time Monitoring

// Start real-time monitoring
KanmiPerfAdvanced.startRealTimeMonitoring(5000); // Every 5 seconds

// Detect performance regressions
const regressions = KanmiPerfAdvanced.detectRegressions();
if (regressions.length > 0) {
  console.warn('Performance regressions detected:', regressions);
}

// Stop monitoring
KanmiPerfAdvanced.stopRealTimeMonitoring();

Site Rating & Comparison

// Rate current site (1-5 stars)
const rating = await KanmiPerfAdvanced.rateCurrentSite();
console.log('Site rating:', rating, 'stars');

// Compare with similar sites
const comparison = await KanmiPerfAdvanced.compareWithSimilarSites();
console.log('Performance vs others:', comparison.comparison); // 'faster', 'slower', 'average'

Quick Performance Fixes

// Get available fixes
const fixes = await KanmiPerfAdvanced.suggestQuickFixes();

// Apply specific fix
const imageOptResult = await KanmiPerfAdvanced.applyQuickFix('image_optimization');
console.log('Image optimization:', imageOptResult);

// Apply CSS optimization
const cssOptResult = await KanmiPerfAdvanced.applyQuickFix('css_optimization');
console.log('CSS optimization:', cssOptResult);

AI Recommendations

// Get all recommendations
const allRecs = KanmiPerfAdvanced.generateRecommendations();

// Get high-priority recommendations only
const highPriority = KanmiPerfAdvanced.getRecommendationsByPriority('High');

// Get recommendations by category
const loadingRecs = KanmiPerfAdvanced.getRecommendationsByCategory('Loading');

Data Export

// Export performance data as JSON
KanmiPerfAdvanced.exportPerformanceData('json');

// Export as CSV
KanmiPerfAdvanced.exportPerformanceData('csv');

// Get report programmatically
const report = KanmiPerfAdvanced.getReport();
console.log('Full performance report:', report);

Console Commands

// Execute commands programmatically
const scoreResult = KanmiPerfAdvanced.executeCommand('score');
const helpResult = KanmiPerfAdvanced.executeCommand('help');
const analysisResult = KanmiPerfAdvanced.executeCommand('analyze');

Available Commands

  • monitor - Start real-time monitoring
  • stop-monitor - Stop real-time monitoring
  • analyze - Run full performance analysis
  • score - Get performance score
  • rate - Rate current site
  • fixes - Get suggested quick fixes
  • recommendations - Get AI recommendations
  • compare - Compare with similar sites
  • export - Export performance data
  • help - List all commands

Performance Metrics

KanmiPerf Advanced tracks comprehensive performance metrics:

  • Core Web Vitals: LCP, CLS, INP, FCP, TTFB
  • Long Tasks: JavaScript blocking main thread
  • LoAF: Long Animation Frames
  • Resource Timing: Load times, sizes, protocols
  • Memory Usage: JavaScript heap utilization
  • Network Info: Connection type, bandwidth

Recommendation Categories

  • Loading Performance: LCP, FCP, resource optimization
  • Interactivity: INP, long tasks, event handling
  • Visual Stability: CLS, layout shifts, image dimensions
  • Best Practices: HTTPS, accessibility, SEO
  • Framework-Specific: React, Vue, Angular optimizations

Configuration Options

await KanmiPerfAdvanced.init({
  licenseKey: 'your-key',
  autoStartMonitoring: true,        // Auto-start real-time monitoring
  monitoringInterval: 5000,         // Monitoring interval in ms
  regressionThreshold: 0.15,        // 15% degradation threshold
  maxHistoricalMetrics: 100,        // Max stored measurements
  quickFixEnabled: true,            // Enable quick fixes
  autoOptimizationEnabled: false,   // Auto-apply safe optimizations
  badgeDisplayEnabled: true         // Show performance badges
});

Product Tiers Comparison

| Feature | Basic | Pro | Advanced | |---------|--------|-----|-------------| | Core Web Vitals | ✅ | ✅ | ✅ | | Basic Analysis | ✅ | ✅ | ✅ | | Enhanced Scoring | ❌ | ✅ | ✅ | | Timeline Analysis | ❌ | ✅ | ✅ | | Real-time Monitoring | ❌ | ❌ | ✅ Free | | Regression Detection | ❌ | ❌ | ✅ Free | | Quick Fixes | ❌ | ❌ | ✅ Free | | AI Recommendations | ❌ | ❌ | ✅ Free | | Site Comparison | ❌ | ❌ | ✅ Free | | Advanced Export | ❌ | ❌ | ✅ Free | | Console Interface | ❌ | ❌ | ✅ Free | | License Required | ❌ | ✅ Paid | 📧 Free Email Request |

License

This project is licensed under the MIT License. While the source code is open, a free license key is required to access the premium features. This allows us to provide support and maintain the advanced functionality.

Get your free license key: Email [email protected]

🆘 Support


KanmiPerf Advanced - Premium performance monitoring for modern web applications.