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

@yungezeit/storybook-vue-addon

v0.0.6

Published

Storybook addon for Vue codebases

Readme

(Not so) personal Storybook addon for Vue 3.4+ codebases.

Install

# Using npm
npm i -D @yungezeit/storybook-vue-addon
# Using Yarn
yarn add -D @yungezeit/storybook-vue-addon
# Using pnpm
pnpm add -D @yungezeit/storybook-vue-addon
# Using bun
bun add -D @yungezeit/storybook-vue-addon

Usage

Register it as an addon in .storybook/main.(js|ts).

import type { StorybookConfig } from '@storybook/vue3-vite';

const config: StorybookConfig = {
  // …
  addons: [
    // … your other addons
    '@yungezeit/storybook-vue-addon', // 👈 register the addon here
  ],
};

export default config;

Features

Vue models panel

Vue components you're testing/playing with in Storybook may expose one or multiple models (a.k.a. two-way bindings) using either Vue's defineModel macro or its prop and update event equivalent (e.g. modelValue and update:modelValue). Sometimes you want to make sure user interactions end up mutating model values as expected, but the rendered component doesn't translate and ensure the actual correctness of such values. For example a checkbox group could visually work as expected when interacted with, but the underlying model value may not be what you expect it to be (e.g. an array of strings instead of an array of option objects).

Registering this addon adds a "Vue model" panel within Storybook's addon view which - for the active Story's underlying Vue component - lists all detected models and output their current value in real-time so that you can see how user interaction impacts the models' raw values.

Quicklink to external documentation

This addon also adds a "documentation" shortcut in the toolbar which is shown whenever your component-level meta parameters include a docsUrl property. Pretty useful when your actual component documentation is not powered by Storybook (e.g. Vitepress). Not a vue-specific feature, though, but still ended up including it in this addon for some reason :-)

// Button.stories.ts
import type { Meta } from '@storybook/vue3-vite';
import Button from './Button.vue';

const meta: Meta<typeof Button> = {
  component: Button,
  parameters: {
    docsUrl: 'https://example.com/path/to/your/documentation',
  }
};

export default meta;