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

@appcorp/fusion-storybook

v0.1.68

Published

A component library built with a modern tech stack for maximum reusability across multiple projects.

Downloads

7,521

Readme

Fusion Storybook

A component library built with a modern tech stack for maximum reusability across multiple projects.

Tech Stack

Getting Started

Prerequisites

  • Node.js 20+
  • npm 10+

Installation

npm install

Development

npm run dev

Open http://localhost:3000 to view the app.

Storybook

npm run storybook

Open http://localhost:6006 to view the Storybook.

Scripts

| Script | Description | | ------------------------- | -------------------------------- | | npm run dev | Start Next.js development server | | npm run build | Build for production | | npm run start | Start production server | | npm run lint | Run ESLint | | npm run lint:fix | Run ESLint with auto-fix | | npm run format | Format all files with Prettier | | npm run format:check | Check formatting without writing | | npm run storybook | Start Storybook dev server | | npm run build-storybook | Build Storybook for production | | npm run test | Run Jest unit tests | | npm run test:watch | Run Jest in watch mode | | npm run test:ci | Run Jest with coverage (CI mode) | | npm run test:e2e | Run Playwright e2e tests | | npm run test:e2e:ui | Run Playwright with UI | | npm run test:e2e:report | Open Playwright HTML report |

Git Workflow

This project enforces code quality via Husky git hooks:

Pre-commit

  • Runs lint-staged which lints and formats only staged files

Commit Message

  • Enforces Conventional Commits format via commitlint
  • Examples:
    • feat: add new button component
    • fix: resolve responsive layout issue
    • docs: update README
    • test: add unit tests for button

Pre-push

  • Runs the full Jest test suite before pushing

Project Structure

fusion-storybook/
├── src/
│   ├── app/              # Next.js App Router
│   │   ├── globals.css   # Global styles with ShadcnUI CSS variables
│   │   ├── layout.tsx    # Root layout
│   │   └── page.tsx      # Home page
│   ├── components/
│   │   └── ui/           # ShadcnUI components
│   │       └── button.tsx
│   ├── lib/
│   │   └── utils.ts      # Utility functions (cn helper)
│   ├── hooks/            # Custom React hooks
│   ├── stories/          # Storybook stories
│   └── __tests__/        # Jest unit tests
├── tests/
│   └── e2e/              # Playwright e2e tests
├── .husky/               # Husky git hooks
├── .storybook/           # Storybook configuration
├── .vscode/              # VS Code settings
├── components.json       # ShadcnUI configuration
├── jest.config.ts        # Jest configuration
├── jest.setup.ts         # Jest setup (testing-library/jest-dom)
├── playwright.config.ts  # Playwright configuration
├── commitlint.config.ts  # Commitlint configuration
└── .prettierrc           # Prettier configuration

Adding ShadcnUI Components

Once the shadcn CLI can reach the registry, use:

npx shadcn@latest add button
npx shadcn@latest add dialog
npx shadcn@latest add dropdown-menu

VS Code Integration

Install recommended extensions for the best development experience:

  • Prettier - Code formatting
  • ESLint - Code linting
  • Tailwind CSS IntelliSense - Tailwind class hints
  • Storybook - Storybook integration
  • Playwright - Test runner integration

Format on save is enabled by default via .vscode/settings.json.

Code Quality

  • ESLint enforces Next.js and TypeScript best practices
  • Prettier with prettier-plugin-tailwindcss auto-sorts Tailwind classes
  • lint-staged runs linters only on staged files (fast!)
  • commitlint ensures consistent commit message format