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

@vydra-js/cli

v0.0.1-alpha.0

Published

CLI for Vydra Framework Scaffolding

Readme

🐍 Vydra JS CLI

Vydra JS CLI is the official command-line interface for building ultra-fast SPA and Microfrontend applications using Web Components and the Vydra Framework.

Version License


🚀 Quick Start

Installation

Install Vydra CLI globally using your favorite package manager:

npm install -g @vydra-js/cli
# or
pnpm add -g @vydra-js/cli

Create a New Project

Create a new microfrontend application or a root shell:

# Create a microfrontend app
vydra new app my-awesome-app

# Create a root shell (orchestrator)
vydra new root my-shell

🏗️ Project Architecture

Vydra distinguishes between two main project types:

📱 Microfrontend App (app)

A standalone application that can run in two modes:

  • SPA Mode: Standard Single Page Application with its own index.html.
  • MFE Mode: Build as a library/module to be consumed by a Root Shell.

🐚 Root Shell (root)

The orchestrator or "parent" application. It is responsible for:

  • Loading and mounting microfrontends.
  • Managing global state and event bus communication.
  • Shared services like Authentication and Configuration.

🛠️ Commands Documentation

vydra new <type> <name> [prefix]

Scaffolds a new Vydra project.

  • type: app (microfrontend) or root (shell).
  • name: Name of the project and directory.
  • prefix: (Optional) Custom prefix for Web Components (default: vydra).

vydra generate (alias: g)

Generates boilerplate for different entities using the project's design system.

# Generate a new page
vydra g page product-detail

# Generate a new component
vydra g component user-card

vydra app

Commands specific to microfrontend applications.

# Start development server
vydra app serve

# Build for production
# Use --mode spa for a standalone app
# Use --mode mfe for a microfrontend module
vydra app build --mode [spa|mfe]

# Preview the production build
vydra app preview

vydra root

Commands specific to the root shell/orchestrator.

# Start development server
vydra root serve

# Build for production
vydra root build

# Preview the production build
vydra root preview

⚙️ Configuration (vydra.json)

Every Vydra project contains a vydra.json file to manage its metadata and scaffolding behavior:

{
  "vydra-cli": "0.0.1",
  "version": "1.0.0",
  "project": {
    "name": "my-app",
    "prefix": "vydra",
    "type": "app",
    "schematics": {
      "page": {
        "styles": true,
        "test": true
      },
      "component": {
        "styles": true,
        "test": true
      }
    }
  }
}

📦 Ecosystem

Vydra CLI is designed to work seamlessly with the Vydra core packages:

  • @vydra-js/core: Core framework logic.
  • @vydra-js/router: Lightning fast routing.
  • @vydra-js/bus: Event-driven communication.
  • @vydra-js/forms: Reactive forms for Web Components.
  • @vydra-js/i18n: Multi-language support.

📄 License

MIT © Vydra Team