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

@arinze-clinton/loupe

v0.4.1

Published

Timeline-first motion authoring tool — scrub, annotate, and review React animations against a deterministic timeline.

Readme

npm version downloads license

Your web animations, on a timeline. Scrub them like a video, pause on any frame, mark what's off, export the notes — all on real running code, not a recording.

Quick start

npm install @arinze-clinton/loupe -D
npx loupe init

Using pnpm / yarn / bun? Replace npx with pnpm exec, yarn, or bun x.

Wrap your app in one provider and mount the panel in dev:

import { LoupeRegistryProvider, LoupePanel } from '@arinze-clinton/loupe';

function App() {
  return (
    <LoupeRegistryProvider>
      <YourApp />
      {import.meta.env.DEV && <LoupePanel />}
    </LoupeRegistryProvider>
  );
}

Then wrap any animated scene in a TimelineProvider and your motion values read from the shared clock:

import { TimelineProvider, useTimelineValue } from '@arinze-clinton/loupe';
import { motion } from 'framer-motion';

function MyScene() {
  return (
    <TimelineProvider
      config={{
        id: 'my-scene',
        label: 'My Scene',
        phaseOrder: ['enter', 'settle'],
        phaseDurations: { enter: 600, settle: 400 },
      }}
    >
      <FadingBox />
    </TimelineProvider>
  );
}

function FadingBox() {
  const opacity = useTimelineValue(0, 1, { phase: 'enter' });
  return <motion.div style={{ opacity }}>Hello</motion.div>;
}

That's enough. The panel finds the scene, the scene's animations read from the shared clock, and you can scrub.

Already got animations?

Run npx loupe refactor — Loupe walks you through each fire-and-forget animation in your project, shows the before and the after, and asks before changing anything. Nothing gets refactored without your sign-off.

Using Claude, Cursor, or Copilot? npx loupe init installed a skill that lets you ask in plain English: "audit my animations", "make this scrubbable". The agent does the same walkthrough.

The idea

Every animation is a function of time. Loupe owns the time.

Scrubbing back is just setting time to zero. Pausing is just freezing the clock. Reviewing your animation feels like reviewing a video edit, not poking at a black box.

Once a scene is wrapped in <TimelineProvider>, every animated value reads from the same shared clock. The floating panel drives that clock — and lets you annotate any frame you want to change. Notes export as Markdown your AI agent (or teammate) can act on.

CLI

| Command | What it does | |---|---| | loupe init | Wire Loupe into your project. Writes a sample scene + (optionally) installs the Claude skill. | | loupe scan | Find every animation in your project and report which are timeline-bound vs fire-and-forget. | | loupe refactor | Walk through each fire-and-forget animation interactively. Show-and-paste, no auto-edits. | | loupe check | Print the version installed, what's declared in package.json, and the latest on npm. | | loupe uninstall | Remove @arinze-clinton/loupe and the files loupe init wrote. Won't touch files you've edited. |

Why my scene isn't pickable

If hovering over your animation highlights the page behind it (not the scene itself), a pointer-events: none ancestor is making the scene invisible to document.elementFromPoint. Common in production code that wraps autoplaying vignettes so they don't intercept page clicks.

Wrap the scene in <SceneRoot> instead of a bare <div>:

import { SceneRoot } from '@arinze-clinton/loupe';

<SceneRoot>
  {/* your animated content */}
</SceneRoot>

<SceneRoot> flips to pointer-events: auto whenever Loupe is mounted and back to none in production builds where it isn't. You get pickable scenes in the workbench and click-through behavior in prod, without remembering the rule.

Requirements

  • React 18+
  • Framer Motion 11+
  • Modern desktop or mobile browser

Docs

License

PolyForm Shield 1.0.0 — use it freely in any project, including commercial work. You may not fork it into a competing product.