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

agoda-devfeedback-vite

v0.2.1

Published

Vite plugin for collecting and reporting development feedback metrics

Readme

@agoda-com/devfeedback-vite: Measure Your Development Experience!

Overview

Welcome to devfeedback-vite, the open-source Vite plugin that's here to make your development experience smoother than ever! We're passionate about measuring and improving the developer experience, because fast feedback loops and efficient development cycles are crucial for productivity.

By providing detailed insights into Hot Module Replacement (HMR) performance, build times, and system resource usage, this plugin helps development teams identify bottlenecks, optimize workflows, and enhance overall productivity. Because who doesn't want their Vite development server running at peak performance?

Latest Version

Find our latest version ready to supercharge your development:

Features

  • HMR Performance Metrics: Capture detailed timing information about module updates, including server processing time and client-side application
  • System Resource Monitoring: Track CPU usage, memory consumption, and other vital system information during development
  • Repository Context: Automatically collect git information to correlate performance with codebase changes
  • Custom Metric Collection: Extensible architecture for adding your own performance metrics
  • Zero Configuration: Works out of the box with sensible defaults

Requirements

  • Node.js 18 or higher (Because we believe in moving forward, not living in the past)
  • Vite 4.x or 5.x

Installation

npm

Add some performance tracking to your project:

npm install @agoda-com/devfeedback-vite --save-dev

yarn

Sprinkle some metrics into your development environment:

yarn add -D @agoda-com/devfeedback-vite

pnpm

Power up your project with:

pnpm add -D @agoda-com/devfeedback-vite

Quick Start

Add the plugin to your Vite configuration. It's as simple as that!

// vite.config.ts
import { defineConfig } from 'vite'
import devFeedback from '@agoda-com/devfeedback-vite'

export default defineConfig({
  plugins: [
    devFeedback()
  ]
})

Below is example with optional config, no config is required.

devFeedback({
      // optional configuration
      endpoint: 'http://your-metrics-endpoint',
      sampleRate: 1.0,
      includeSystemMetrics: true
    })

Configuration Options

Fine-tune your metrics collection:

interface DevFeedbackOptions {
  // URL where metrics will be sent
  endpoint?: string;
  
  // Sampling rate for metric collection (0.0 to 1.0)
  sampleRate?: number;
  
  // Include system metrics like CPU and memory usage
  includeSystemMetrics?: boolean;
  
  // Custom tags to add to all metrics
  tags?: Record<string, string>;
}

Contributing

We welcome contributions! Whether you're fixing bugs, improving documentation, or adding new features, we appreciate your help in making devfeedback-vite even better. Check out our Contributing Guide for more details on how to get started.

Remember, in the world of development metrics, there are no unimportant measurements - only insights waiting to be discovered!

The Development Experience

We're all about optimizing the development experience here at devfeedback-vite. Our goals are:

  1. Zero-Config Success: You should be able to add the plugin and get immediate value without complex setup
  2. Performance Insights: Understand exactly where your development time is being spent
  3. Actionable Metrics: Each measurement should help you make informed decisions about your development workflow

And Finally...

Remember, you can't improve what you don't measure. With devfeedback-vite, you'll have insights into your development experience that you never knew you needed. (But trust us, once you have them, you won't want to develop without them!)

Happy coding, and may your HMR updates be swift! 🚀