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

@hyperpackai/create-hyperpack

v0.3.0

Published

Scaffold a new HyperPack project with React, Vue, Vanilla, Hyperion, Electron, or SSR templates.

Readme

create-hyperpack

Scaffold a new HyperPack project with interactive prompts for templates, language, testing, and UI libraries.

npm version npm downloads

Features

  • Interactive Setup — Choose template, language, testing, and UI library via prompts
  • Multiple Templates — Hyperion SPA, SSR, React, Vue, Vanilla, and Electron
  • Zero Configuration — Pre-configured build, dev, and test scripts
  • Optional Testing — HyperTest setup (optional)
  • UI Library Support — HyperUI, Material-UI (MUI), Tailwind CSS, or none
  • TypeScript-ready — Full TypeScript support with sensible defaults
  • Global or Local — Works with npx or as a global CLI tool

Quick Start

Local (npx)

npx @hyperpackai/create-hyperpack my-app
cd my-app
npm install
npm run dev

Global

npm i -g @hyperpackai/create-hyperpack
create-hyperpack my-app
cd my-app
npm install
npm run dev

Interactive Prompts

When you run the scaffolder, you'll be asked:

  1. Template

    • hyperion-spa-ts — Hyperion SPA with client-side routing (recommended)
    • hyperion-ssr-ts — Hyperion SSR with file-based pages
    • react-ts — React with TypeScript
    • react-js — React with JavaScript
    • vanilla-ts — Vanilla TypeScript
    • vanilla-js — Vanilla JavaScript
    • vue-ts — Vue 3 with TypeScript
    • vue-js — Vue 3 with JavaScript
    • electron-react-ts — Electron + React
    • electron-vue-ts — Electron + Vue
  2. Language — TypeScript or JavaScript (if not already specified)

  3. Testing — Include HyperTest? (Y/n)

  4. UI Library

    • none — No UI library, just framework
    • HyperUI — Enterprise component library
    • MUI — Material-UI
    • Tailwind — Tailwind CSS utilities

Project Structure

my-app/
├── src/
│   ├── main.tsx          # App entry point
│   ├── App.tsx           # Root component
│   └── styles.css        # Global styles
├── public/               # Static assets
├── index.html            # HTML shell
├── hyperpack.config.ts   # Build configuration
├── hypertest.config.ts   # Test configuration (if HyperTest selected)
├── tsconfig.json         # TypeScript config
└── package.json

Available Commands

After scaffolding, the generated package.json includes:

npm run dev       # Start development server (HMR enabled)
npm run build     # Build for production
npm run preview   # Preview production build locally
npm test          # Run tests (if HyperTest selected)

Hyperion SPA Template

The recommended hyperion-spa-ts template includes:

import { createApp, component, signal } from "@hyperpackai/hyperion";

const App = component(() => (
  <div>
    <h1>Hello, HyperPack!</h1>
    {/* Your components here */}
  </div>
));

createApp(App).mount("#root");
  • Signal-based reactivity
  • Client-side routing (if using router)
  • HyperUI components (if selected)
  • TypeScript by default
  • Hot module replacement (HMR)

Hyperion SSR Template

The hyperion-ssr-ts template includes:

  • File-based routing with .hvx pages
  • Server-side rendering with hydration
  • Server entry point for deployment
  • Built-in asset pipeline

React Templates

React templates come with:

  • React 19+ with TypeScript
  • Fast Refresh (HMR)
  • Optional HyperUI, MUI, or Tailwind
  • HyperTest integration (optional)

Electron Templates

Electron templates include:

  • Pre-configured Electron main process
  • Dev tools in development
  • Fast Refresh for renderer
  • Native asset bundling

Configuration

HyperPack Config

Edit hyperpack.config.ts to customize the build:

export default {
  entry: "src/main.tsx",
  jsxImportSource: "@hyperpackai/hyperion",
  // ... more config
};

HyperTest Config

If HyperTest is selected, edit hypertest.config.ts:

export default {
  testMatch: ["tests/**/*.test.ts", "src/**/*.test.ts"],
};

Documentation

License

MIT