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

create-looper-app

v1.0.6

Published

Interactive installer for Looper Module Federation 2.0 monorepos

Readme

create-looper-app

CLI-установщик для старта Looper — монорепозитория на Module Federation 2.0 (Rspack + React 19).

Один вызов создаёт готовый проект: shell-хост, MF-remote, общий пакет @looper/shared, dev/prod-скрипты и (по умолчанию) подключение UI-kit ui-looper с CDN. Локальный процесс на порту 3030 не нужен.

Полный reference с четырьмя remotes, embed, e2e и виджетами — в репозитории looper. Этот пакет разворачивает облегчённый шаблон starter-minimal (shell + app1).

Быстрый старт

npx create-looper-app@latest
# или
npm create looper-app@latest

Интерактивно спросит имя проекта, установит зависимости, при желании сделает git init и запустит npm run dev.

Готовый проект: http://localhost:3000 (shell), remote app1 — :3002.

Что попадает в проект

| Часть | Назначение | |--------|------------| | packages/shell | Host: меню, роутинг, eager shared (React, Router, @looper/shared) | | packages/app1 | Пример MF-remote (./App), subnav, страницы | | packages/shared | Типы меню, FederatedApp, провайдеры, хелперы MF | | scripts/ | Кроссплатформенные Node-скрипты (порты, MF dev, CSP) — Linux, macOS, Windows | | docker/ | Опционально: prod-профиль Docker Compose |

Стек: Rspack 2, @module-federation/enhanced, React 19, react-router 7, npm workspaces.

Неинтерактивный режим

npx create-looper-app@latest my-app -- \
  --template minimal \
  --ui cdn \
  --ui-version v1.0.0 \
  --docker compose \
  --git yes

| Флаг | Значение по умолчанию | Описание | |------|------------------------|----------| | --template minimal | minimal | Шаблон монорепы; full-demo — подсказка клонировать looper | | --ui cdn | cdn | ui-looper с GitHub Pages; none — без UI-kit | | --ui-version | v1.0.0 | Тег CDN, напр. v1.0.0…/ui-looper/v1.0.0/remoteEntry.js | | --docker | compose | Файлы Docker; none — удалить docker/ и docker-compose.yml | | --no-install | — | Не запускать npm install | | --no-start | — | Не запускать dev-сервер после создания | | --start | — | Принудительно запустить npm run dev | | --git no | yes | Не делать git init |

Без npm registry

Из клона looper:

node create-looper-app/bin/create-looper-app.js my-app
cd my-app && npm install && npm run dev

Или установочный скрипт: scripts/install-looper.sh (см. INSTALL.md).

Требования

  • Node.js ≥ 20
  • npm (workspaces)
  • Для публикации пакета на npm — аккаунт с доступом к create-looper-app

Ссылки


Публикация пакета (maintainer)

Публикуется из корня репозитория looper:

npm login
NPM_OTP=123456 npm run ship:cli

NPM_OTP — шестизначный код из приложения 2FA (Google Authenticator и т.п.), если на npm включена двухфакторная аутентификация. Без 2FA достаточно npm run ship:cli — npm запросит пароль при необходимости.

Версия берётся из create-looper-app/package.json; после publish доступно npx create-looper-app@latest.