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

@nacew/performance-react

v0.6.0

Published

React bindings for the uTestMe performance SDK — auto page/component profiling, measures, remediations.

Readme

React Profiler bindings for uTestMe.

Quick start (no per-component wraps)

import { UTestMePerformanceProvider } from "@nacew/performance-react";

export function App() {
  return (
    <UTestMePerformanceProvider
      config={{
        projectKey: import.meta.env.VITE_LOGPULSE_PROJECT_KEY,
        endpoint: import.meta.env.VITE_LOGPULSE_ENDPOINT,
        environment: "production",
        autoInstrument: true, // default — page-level render commits
      }}
    >
      <Routes />
    </UTestMePerformanceProvider>
  );
}

That alone sends page timings (page:/dashboard) + web vitals. No UTestMeProfiler wraps needed.

Automatic per-component names (optional)

In vite.config.ts:

import react from "@vitejs/plugin-react";

export default {
  plugins: [
    react({
      jsxImportSource: "@nacew/performance-react",
    }),
  ],
  // Production: enable React Profiler (otherwise component timings are no-ops)
  resolve: {
    alias:
      process.env.NODE_ENV === "production"
        ? { "react-dom/client": "react-dom/profiling" }
        : undefined,
  },
};

What is reported (0.5): a component's render only when the component itself spent a millisecond or more on it (selfMs), so a small update deep in the tree is not reported again for every component above it. Per page, each component sends its first render and then at most one every 10 seconds, plus every render of 16 ms or more (up to 20 per component); a page sends at most 300. A slider, a clock or a polling list re-rendering on a timer is not a stream of events.

Manual wrap (optional)

Still available for hotspots:

<UTestMeProfiler id="CheckoutForm">
  <CheckoutForm />
</UTestMeProfiler>

Names from before 0.6

The SDK used to be called LogPulse. Every export still exists under its old LogPulse… name (initLogPulsePerformance, LogPulsePerformanceProvider, LogPulseProfiler, …) as the same function, component or type as the UTestMe… one, marked @deprecated. Existing apps keep working without changes and can switch names whenever convenient; mixing both is fine.