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

@doany-ai/vite-plugin

v0.1.4

Published

Doany's Vite integration for sandboxed website-builder previews

Readme

@doany-ai/vite-plugin

Doany's Vite integration for website-builder apps running in sandboxed iframes. It provides JSX source instrumentation, HMR and navigation notifications, error forwarding, visual selection/editing, a loopback build status endpoint, and analytics injection. It is backend-SDK independent.

This is an early parity fork for Doany-owned website-builder scaffolds.

Install

After publication:

npm install @doany-ai/vite-plugin

For a local packed build, use the .tgz emitted by npm pack.

Usage

import doany from "@doany-ai/vite-plugin";

export default {
  plugins: [
    doany({
      hmrNotifier: true,
      navigationNotifier: true,
      analyticsTracker: true,
      visualEditAgent: true,
    }),
  ],
};

Options

| Option | Default | Purpose | | --- | --- | --- | | hmrNotifier | false | Forward HMR lifecycle events to the embedding editor. | | navigationNotifier | false | Notify the editor when the iframe route changes. | | visualEditAgent | false | Enable DOM-to-source selection and inline visual editing. | | analyticsTracker | false | Inject the production page-view tracker. | | sandbox | auto | Force sandbox behavior on or off. Auto-detection checks Doany, Daytona, then legacy Modal markers. |

Environment

| Variable | Purpose | | --- | --- | | VITE_DOANY_APP_ID | Identify the app for production analytics. | | VITE_DOANY_APP_BASE_URL | Proxy /api during local frontend development. | | DOANY_HMR_HOST | Override the sandbox HMR WebSocket host. | | DOANY_BUILD_STATUS_ENABLED | Enable the loopback-only build-status endpoint. | | DOANY_SANDBOX_ID or DAYTONA_SANDBOX_ID | Detect sandbox execution. |

Security status

The current iframe protocol uses wildcard postMessage targets, does not consistently validate inbound parent origins, opens sandbox iframe/dev-host headers, and injects the Tailwind CDN during visual-edit development. Treat it as an internal parity build, not a production-hardened trust boundary.

The next hardening milestone is a controller-provided parent-origin allowlist or capability handshake. It must be introduced with editor-side protocol tests so security changes do not silently break visual edit or HMR.

Development

npm install
npm test
npm pack

npm test rebuilds both the Vite plugin and the browser bridge before running the public-contract tests.

License

MIT.