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

react-rewrite-cli

v0.1.1

Published

Visual overlay for React dev servers — select components, drag to reorder, and draw on a Figma-style canvas

Downloads

277

Readme

react-rewrite

react-rewrite lets you edit a React app visually while it is running locally, then write those changes back to the source files in your project.

It works by opening a proxy in front of your dev server and injecting an overlay into the page.

Fastest path

You do not need to download or clone this repo.

From the root of your React app:

npm install -D react-rewrite-cli

Start your dev server, then in a second terminal run:

npx react-rewrite

If you want to try it without installing first:

npx react-rewrite-cli@latest

Requirements

  • Node.js 20+
  • A React project
  • A running development server
  • Supported app setups: Next.js, Vite, and Create React App

Install

From the root of the React app you want to edit:

npm install -D react-rewrite-cli

Or run it without installing first:

npx react-rewrite-cli@latest

Run

After installing locally:

npx react-rewrite

If auto-detection does not pick the right port:

npx react-rewrite 3000

CLI options

react-rewrite [options] [port]

Arguments:
  port           Dev server port override

Options:
  --no-open      Don't open browser automatically
  --host <host>  Dev server host (default: "localhost")
  --verbose      Enable debug logging

Notes

  • Run the command from your app's root directory.
  • It only works against development builds, not production builds.
  • Only files inside the current project are eligible for writes.