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

@dxtmisha/wiki

v0.100.0

Published

Storybook documentation toolkit, component metadata registry, and MDX documentation system for DXT UI design system

Downloads

495

Readme

@dxtmisha/wiki

npm version License: MIT Node.js Version

@dxtmisha/wiki is a documentation toolkit and component metadata registry for the DXT UI design system. It provides structured metadata builders (WikiStorybook), pre-configured Storybook controls (wikiButton, wikiStatus), React documentation components (StorybookMain), and bilingual MDX documentation content (en/ru/vi) to standardize design system documentation.

Why this library?

Maintaining large-scale design system documentation in Storybook often results in scattered control definitions, inconsistent prop descriptions across components, hardcoded story templates, and copy-pasted MDX documentation.

@dxtmisha/wiki solves this by centralizing all component metadata, prop categories, descriptions, and story templates into a structured, type-safe API. Components define their controls and documentation metadata using WikiStorybook builders, while Storybook renders standardized documentation pages (StorybookMain, StorybookDescriptions) directly from central MDX registries.

What does it do?

For Storybook controls & argTypesWikiStorybook and WikiStorybookItem classes that build Storybook-compatible argTypes maps, automatically organizing props into ordered categories (Status, Values, Styles, Adaptive, Technical, Hook).

For pre-configured prop definitions — ready-to-use control maps (wikiStatus, wikiValue, wikiStyle, wikiButton, wikiField, wikiIcon, wikiTable, etc.) that provide standard controls, descriptions, and default values across all components without manual setup.

For React Storybook components — pre-built React components (StorybookMain, StorybookDescriptions) for rendering standardized Storybook documentation pages with titles, subtitles, canvas stories, and MDX descriptions.

For bilingual MDX documentation — structured MDX pages and text descriptions (en, ru, vi) covering component usage, prop mechanics, slot descriptions, and event details.

For demo media assets — centralized exports of high-resolution demo images (image1, image2), mockups (phone1, phone2), and sample files for Storybook previews.

Installation

npm install @dxtmisha/wiki

Quick Start

import { WikiStorybook } from '@dxtmisha/wiki'
import { wikiStatus, wikiStyle, wikiButton } from '@dxtmisha/wiki/media'

// 1. Combine pre-configured prop definitions
const buttonArgs = {
  ...wikiStatus, // disabled, loading, readonly
  ...wikiStyle,  // appearance, size, color
  ...wikiButton  // button-specific props
}

// 2. Instantiate WikiStorybook builder
export const buttonWiki = new WikiStorybook(
  'Button',
  props,
  defaults,
  buttonArgs
)

// 3. Export to Storybook
export default {
  title: 'Components/Button',
  argTypes: buttonWiki.getWiki(),
  args: buttonWiki.getValues()
}

Principles

  • Single source of documentation truth — all prop controls, descriptions, and MDX docs are defined centrally and shared across Storybook stories.
  • Type-safe metadata builders — strong TypeScript typing for controls, prop schemas, categories, and Storybook argument configurations.
  • Bilingual documentation (i18n) — native support for English, Russian, and Vietnamese descriptions across MDX pages and Storybook controls.
  • Granular exports & zero-runtime overhead — modular entry points (/media, /storybook) allowing fast compilation and clean tree-shaking.

Documentation

Full API reference, Storybook integration, and guides:

📖 https://dxtmisha.github.io/dxt-ui/?path=/docs/dxtmisha-en-wiki-styles-demo-card--docs

Difference from other @dxtmisha packages

  • @dxtmisha/wiki — documentation metadata builders, Storybook controls, React layout components, and MDX documentation.
  • @dxtmisha/constructor — headless Vue 3 component constructors, logic engines, and accessibility controllers.
  • @dxtmisha/d1 — production-ready Vue 3 UI component library with D1 design system styling.

License

MIT