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/scripts

v0.9.1

Published

Development scripts and CLI tools for DXT UI projects - automated component generation, library building and project management tools

Readme

@dxtmisha/scripts

npm version License: MIT Node.js Version

@dxtmisha/scripts is a powerful suite of development scripts and CLI tools designed specifically for automating workflows in modern UI libraries.

Why this library?

Maintaining a UI library inevitably involves a lot of repetitive boilerplate: creating component files, writing basic props interfaces, setting up Storybook configuration, keeping index barrel files updated, and maintaining documentation. Typically each project solves these by copying and pasting folders or writing ad-hoc shell scripts that break over time.

scripts brings all these solutions together in one place — thoughtful, tested, and ready to use. It automates the mundane work, providing a cohesive toolset to scaffold components, generate documentation (including AI-assisted text), and automatically manage library exports, ensuring your UI project remains structured and easy to scale.

What does it do?

For component scaffolding — automatic generation of full Vue component templates. A single command sets up .vue files, props.ts, styleToken.scss, and barrel exports, complete with TypeScript definitions.

For design system orchestration — a robust suite of classes to parse TypeScript props, manage constructor configurations, and synchronize design tokens.

For documentation & Storybook — tools to generate .stories.ts and .mdx files automatically. It can even utilize Google's AI (Gemini) or Anthropic's Claude to generate component descriptions and technical docs.

For Figma integration — a complete Figma API client capable of fetching styles, analyzing design nodes, and translating them into usable code structures.

For visual testing — browser automation using Puppeteer to capture and process component screenshots across different states and themes.

For library management — automated maintenance of index.ts files (barrel exports) across packages, ensuring all components and utilities are correctly exposed.

Installation

npm install -D @dxtmisha/scripts

Note: TypeScript sources are shipped directly. Requires a TypeScript runner like vite-node, tsx, or manual transpilation.

Quick Start

CLI Commands

# Generate component scaffolds in empty directories
npx dxt-component

# Generate wiki documentation for a specific component
npx dxt-component-wiki MyButton

# Build component constructors
npx dxt-constructor

# Rebuild library exports
npx dxt-library

# Full UI project build
npx dxt-ui

Programmatic Usage

import { ComponentCreator, AiGoogle, LibraryExport } from '@dxtmisha/scripts'

// Generate component scaffolds
const creator = new ComponentCreator()
creator.make()

// AI-powered generation
const ai = new AiGoogle()
ai.setModel('gemini-1.5-flash')
const result = await ai.generate('Create props interface for Button component')

// Library export management
const library = new LibraryExport()
library.make()

Principles

  • Developer Experience First — commands are simple, outputs are predictable. You shouldn't have to write boilerplate.
  • TypeScript-first — strict typing and autocomplete out of the box. Ships source directly, making it easy to integrate into modern tooling environments.
  • AI-Enhanced — embraces LLMs to speed up tedious documentation and scaffolding tasks.
  • Clean API — predictable behavior and clear naming for programmatically managing UI systems.

Documentation

Full API reference, examples, and guides:

📖 https://dxtmisha.github.io/dxt-ui/

Difference from other tools

  • @dxtmisha/scripts — specifically tailored for the internal architecture of DXT UI, integrating deeply with our property management and Storybook setup. Not a generic scaffolding tool like Yeoman or Plop.

License

MIT