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

@rozie/unplugin

v0.1.3

Published

Universal build-tool plugin for Rozie.js — compile .rozie files in Vite, Rollup, Webpack, esbuild, Rolldown, and Rspack from one factory.

Readme

@rozie/unplugin

The universal build-tool plugin for Rozie.js, authored once via unplugin v3 and exposed as Vite, Rollup, Webpack, esbuild, Rolldown, and Rspack adapters. Wires import Foo from './Foo.rozie' directly into any of those build pipelines — no codegen ceremony, full HMR, source maps back to the original .rozie file.

Status

Shipped for all six targets — vue, react, svelte, angular, solid, and lit. Vite (@rozie/unplugin/vite) is the primary, end-to-end-tested host (the reference consumer apps under examples/consumers/ build through it). The other adapters (/rollup, /webpack, /esbuild, /rolldown, /rspack) are produced from the same unplugin factory. Marked @experimental until v1.0.

Install

Not yet published to npm (current version 0.1.0; publishing is gated on the public release workflow). Inside the monorepo, depend on it plus the runtime package for your target:

// package.json
{
  "dependencies": {
    "@rozie/unplugin": "workspace:*",
    "@rozie/runtime-react": "workspace:*", // or -vue / -svelte / -solid / -lit
    "react": "^18"
  }
}

Usage

// vite.config.ts
import { defineConfig } from 'vite';
import Rozie from '@rozie/unplugin/vite';

export default defineConfig({
  plugins: [Rozie({ target: 'react' })],
});

For Vue, place Rozie() before @vitejs/plugin-vue — it rewrites Foo.rozie → a synthetic Foo.rozie.vue id via resolveId so vite-plugin-vue picks it up:

import vue from '@vitejs/plugin-vue';
import Rozie from '@rozie/unplugin/vite';

export default defineConfig({
  plugins: [Rozie({ target: 'vue' }), vue()],
});

Then anywhere in your app:

import Counter from './Counter.rozie';

Options — RozieOptions

| Option | Type | Default | Notes | | --- | --- | --- | --- | | target | 'vue' \| 'react' \| 'svelte' \| 'angular' \| 'solid' \| 'lit' | — | Required. Validated synchronously at config-load (ROZ400/ROZ401/ROZ402). | | safeInterpolation | boolean | true | Phase 26. When false, non-primitive {{ }} interpolation reverts to raw per-target emit (re-exposes the React object-child crash). No-op for Vue. See Safe non-primitive interpolation. | | angular | { cva?: boolean } | { cva: true } | Angular-only. cva: false suppresses the auto ControlValueAccessor emit on single-model components. No-op for other targets. | | prebuildExtraRoots | readonly string[] | — | Angular-only. Extra source roots to walk during the Angular disk-cache prebuild. No-op for other targets. |

Invalid option shapes throw a code-bearing error before any build hook runs.

Public exports

From the package root (@rozie/unplugin):

  • unplugin — the createUnplugin v3 factory (default export + named)
  • validateOptions — synchronous RozieOptions validator
  • Type: RozieOptions

From subpath entries: @rozie/unplugin/vite, /rollup, /webpack, /esbuild, /rolldown, /rspack.

For the codegen (no-build, pre-compiled output) path, see @rozie/cli. For non-Vite Babel pipelines, see @rozie/babel-plugin.

Links