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

@zturnlibs/ztron-driver

v0.3.13

Published

Ztron WebDriver intermediary (W3C protocol relay; GAP F7)

Readme

@zturnlibs/ztron-driver

WebDriver intermediary for Ztron apps — the role tauri-driver plays for Tauri: a W3C-protocol relay that lets standard WebDriver tooling drive a running Ztron application.

Why

Ztron apps use the OS webview, which doesn't expose a WebDriver endpoint by itself. ztron-driver accepts a normal W3C WebDriver session (so WebDriverIO, selenium clients, and CI harnesses work unmodified) and relays it to the platform's native WebDriver remote — which it spawns itself — rewriting only the new-session capabilities.

Usage

npm install -g @zturnlibs/ztron-driver
ztron-driver   # client port 4444, native remote port 4445

Point any WebDriver client at the relay and request a session with tauri:options (upstream wire contract):

{
  capabilities: {
    alwaysMatch: {
      "tauri:options": {
        application: "C:/apps/hello/dist/ZtronApp/ztron-launcher",
        args: [],                    // forwarded to the app binary
        webviewOptions: { /* Windows-only passthrough to ms:edgeOptions */ }
      }
    }
  }
}

application is the app's entry binary — for a packed Ztron app that is ztron-launcher (it starts the backend and the webview host; pointing at ztron-host directly gives you a window with no backend).

The driver translates tauri:options per platform, exactly like upstream: Windows → ms:edgeOptions (ms:edgeChromium + WebView2 binary) served by msedgedriver; Linux → webkitgtk:browserOptions served by WebKitWebDriver. Everything else passes through untouched — the native remote's answers are the truthful ones.

Flags: --port / ZTRON_DRIVER_PORT (default 4444), --native-port / ZTRON_DRIVER_NATIVE_PORT (4445), --native-driver / ZTRON_NATIVE_DRIVER (explicit remote binary; also the hook for wrapping a custom/fake remote).

Windows note: install msedgedriver.exe matching your WebView2/Edge version and put it on PATH (or pass --native-driver). The driver sets the usual automation environment (TAURI_AUTOMATION, TAURI_WEBVIEW_AUTOMATION); msedgedriver itself injects the CDP port into the app via WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS and hands it a scoped user-data folder via WEBVIEW2_USER_DATA_FOLDER — the vendored Ztron engine honors both under automation, so app sessions need no extra configuration.

Platform matrix

| Platform | Native remote | Status | | --------- | ---------------- | ------ | | Windows | msedgedriver | verified end-to-end (real msedgedriver 154 → packed hello app: session/navigate/title/delete) | | Linux | WebKitWebDriver| wire contract unit-tested; remote-relay verified against a fake remote | | macOS | — | not supported (upstream parity: no native WebDriver remote); fails closed at startup unless ZTRON_NATIVE_DRIVER wraps a custom remote |

License

MIT