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

redev-cli

v0.3.13

Published

Terminal-first click-to-edit tool. Click any element in your dev app, describe the change, ship it via Claude Code.

Readme

redev-cli

Click any element in your dev app. Describe the change. Ship it — via Claude Code, into your actual source.

npm install -D redev-cli redev-vite-plugin

Setup

Add the Vite plugin so DOM clicks can map back to source files:

// vite.config.ts
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import redev from 'redev-vite-plugin';

export default defineConfig({
  plugins: [react(), redev()],
});

Then run:

npx redev

Open your app, press Cmd+Shift+E, and click anything.

How it works

  1. Click an element in your browser overlay
  2. Describe the change ("make the padding bigger")
  3. Copy the generated command into your terminal
  4. Done — Claude Code edits the file, browser reloads, git diff is ready

Everything runs locally. Nothing is sent to Redev servers.

Next.js (including Surgical on port 3003)

Redev automatically identifies the development server belonging to the project where you run it, then injects the overlay through a local proxy. This works with Next.js and requires no Vite plugin or Next component package. If multiple local apps are plausible, Redev shows a one-line chooser instead of guessing.

# terminal 1
npm run dev -- --port 3003

# terminal 2
npx redev

Open http://localhost:5050 (the Redev proxy), rather than the bare Next server at port 3003. The proxy injects the overlay automatically. Press Cmd+Shift+E, then click an element.

If port 5050 is occupied, Redev prints the replacement port; open that port instead. Use an explicit app URL only when you want to override discovery:

npx redev-cli@latest --app http://localhost:3003

Shared components

When Redev can map a selected element to a reusable React component, the inspector defaults to Shared component. Changes then target that component source, so every instance updates consistently. Choose This instance only when you need a local exception; Redev passes that scope directly to the agent instead of guessing.

CLI options

npx redev --app http://localhost:3003
npx redev-cli@latest --port 5051 --ws-port 3002
npx redev-cli@latest doctor

npx redev doctor lists every browser app Redev found, its detected framework, and why it was or was not chosen automatically.

After a confirmed selection, Redev stores a project-local identity in .redev/session.json. It remembers framework, document fingerprint, and project process—not a port number. Redev reuses it only when exactly one live app still matches; otherwise it shows the app chooser again.

Requirements

  • Node 18+
  • A Vite + React project
  • Claude Code installed and signed in

License

MIT