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

@vmz/core

v0.1.8

Published

VMZ production runtime core — DOM / SSR / HTTP / WriteBarrier (no compiler)

Readme

@vmz/core

The browser should not have to rediscover an application's structure after every click. Yet that is the default cost of many UI systems: execute components again, compare a virtual tree, and infer which DOM work might be necessary.

@vmz/core is the production runtime behind VMZ's alternative. It executes the creation, patch, SSR, resumption, HTTP, and lifetime schedules produced by the compiler. When VMZ can prove that a write affects one text binding, one control region, or one keyed item, the runtime can update that target directly rather than begin from a whole component tree.

The same idea continues beyond a single browser update. SSR serializes planned regions; resumption attaches only reachable state and event entries instead of repeating completed server work; ownership regions give async tasks and resources a deterministic end; server and HTTP output stay tied to compiler-visible capabilities.

| Instead of... | VMZ runtime work begins from... | |------------------------------------|-------------------------------------------------------| | Re-running a component tree | A known affected binding or region | | Reconciling a generic virtual tree | Direct create, patch, switch, or keyed-list work | | Hydrating every rendered component | The event and state entries that are actually reached | | Hoping cleanup follows callbacks | A compiler-known ownership and disposal boundary |

For application authors, this mostly stays out of sight: write VMZ source and let the compiler generate the plan. @vmz/core matters when you care about the kind of runtime your product ships: small in responsibility, direct in execution, and able to account for why its work exists. 🌱

The hot path VMZ is aiming for

state write
  -> known dependency edge
  -> affected computation or region
  -> direct patch / switch / reconcile

There is no default detour through “execute every component that might matter, build virtual nodes, then compare them.” If analysis must widen, it widens to a safe region and should preserve the reason.

More than DOM updates

  • Transactions: related writes can settle before dependent work runs.
  • Ownership: branches, list items, resources, and tasks have a known lifetime.
  • Cancellation: an obsolete navigation or async generation cannot write into new state.
  • Resumption: the browser attaches to server-produced work at the smallest reachable boundary.
  • Zero-JS delivery: pages with no interactive requirement do not need an eager framework shell.

The runtime should not grow a second compiler made of reflection, string dependencies, or generic proxies. Its quality comes from faithfully executing the generated plan while keeping the production surface focused.

License

MIT