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-uiframe

v1.0.62

Published

A device emulator for responsive web development.

Readme

react-uiframe

npm version License: MIT Downloads

React UIFrame is a lightweight CLI-based emulator to preview and test your web projects across multiple devices—mobiles, tablets, laptops, watches, and TVs—directly in your browser. Quickly check responsiveness without resizing windows or opening multiple devices.


🚀 Features

  • Preview your project on multiple devices:
    • Mobile: iPhone 14/15, Samsung S24 Ultra, Pixel 8 Pro
    • Tablet: iPad Pro 11"/12.9"
    • Laptops: MacBook Pro 14"/16", Surface Laptop Studio
    • Watches: Apple Watch Ultra 2
    • TVs & Monitors: Studio Display, 1080p & 4K TVs
  • Portrait and Landscape modes (where applicable)
  • Auto-detect running projects on common ports (3000, 5173, 8080, 4200)
  • Simple CLI with customizable port and project URL
  • Seamless switching between devices in a single UI
  • Minimal setup, works with any frontend framework

📦 Installation

Global

npm install -g react-uiframe

Local (Dev Dependency)

npm install --save-dev react-uiframe

💻 Usage

Start the Emulator

npx uiframe start
  • Automatically detects running projects.
  • Opens a local UI for device previews.

Custom URL

npx uiframe start --url http://localhost:5000

Custom Port

npx uiframe start --port 4001

Example Output

🚀 uiframe emulator running!
   Previewing: http://localhost:5173
   Emulator UI: http://localhost:4000

🖥 Supported Devices

| Device | Category | Modes | | --------------------- | -------- | -------------------- | | iPhone 14 Pro | Mobile | Portrait & Landscape | | iPhone 15 | Mobile | Portrait & Landscape | | Samsung S24 Ultra | Mobile | Portrait & Landscape | | Google Pixel 8 Pro | Mobile | Portrait & Landscape | | iPad Pro 12.9" | Tablet | Portrait & Landscape | | iPad Pro 11" | Tablet | Portrait & Landscape | | MacBook Pro 14" | Laptop | Landscape only | | MacBook Pro 16" | Laptop | Landscape only | | Surface Laptop Studio | Laptop | Landscape only | | Apple Watch Ultra 2 | Watch | Portrait only | | Studio Display 1440p | TV | Landscape only | | TV 1080p | TV | Landscape only | | 4K TV Display | TV | Landscape only |


📷 Screenshots / Demo

Emulator UI Preview

Demo

Device Switching Example

Devices


🔧 How It Works

  • Express serves the emulator UI.
  • EJS templates render device frames.
  • Axios & detect-port detect running projects automatically.
  • Uses device mockups from MockUPhone for realistic previews.

🤝 Contributing

Contributions are welcome! You can:

  • Add more devices
  • Improve UI/UX
  • Add features like screenshots or orientation toggles

Open an issue or PR to contribute.


📝 License

MIT © Prashant