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

draply-dev

v1.3.9

Published

Visual overlay for any frontend project — move, resize, restyle live in the browser, save to CSS

Readme

Draply 🎯

Visual overlay for any frontend project. Move, resize, recolor, and restyle your live dev site — save changes to CSS automatically.

No config. No setup. Works with any framework.


Install & Run

# 1. Start your dev server as usual
npm run dev          # Next.js, Vite, CRA, Nuxt...

# 2. In a new terminal, run Draply
npx draply 5173      # ← port of your dev server

# 3. Open the Draply URL (NOT your dev server URL)
#    → http://localhost:4000

Custom ports:

npx draply 3000        # your app on 3000, draply on 4000
npx draply 8080 9000   # your app on 8080, draply on 9000

How it works

Your app (port 5173)
       ↓
Draply proxy (port 4000)
  • Intercepts HTML responses
  • Injects visual overlay into every page
  • Forwards everything else unchanged
       ↓
Browser shows YOUR site + green button in corner
       ↓
Click button → sidebar opens → pick a tool → edit
       ↓
Save → writes draply.css + auto-imports it into your project

Auto-detection

On first save, Draply auto-detects your framework and adds the CSS import:

| Framework | File modified | |-----------|--------------| | Next.js (App Router) | app/layout.tsx | | Next.js (Pages) | pages/_app.tsx | | Nuxt | nuxt.config.ts | | Vue (Vite) | src/main.ts | | React (Vite) | src/main.tsx | | CRA | public/index.html | | Plain HTML | index.html |

No manual setup needed — changes persist even without Draply running.


Tools

| Tool | What it does | |------|-------------| | 🖱️ Select | Click any element to highlight it | | ✦ Move | Drag elements to any pixel position | | 🔍 Inspect | Hover to see dimensions + CSS info | | 📐 Resize | 8 corner/edge handles to resize any element | | 🎨 Colors | Change background, text color, border color | | 📝 Typography | Font size, weight, line-height, letter-spacing | | 🖼️ Assets | Upload PNG/SVG/JPG → place on page → control z-index |


Keyboard shortcuts

| Key | Action | |-----|--------| | Esc | Cancel placing asset / deselect | | Arrow keys | Nudge selected element 1px | | Shift + Arrow | Nudge 10px | | Delete | Remove selected placed asset |


Works with

  • ✅ React / Next.js / Vite
  • ✅ Vue / Nuxt
  • ✅ Svelte / Astro
  • ✅ Vanilla HTML/CSS
  • ✅ Any framework that serves HTML on localhost

Requirements

  • Node.js 16+
  • Your dev server must be running before starting Draply

License

MIT