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-iros-app

v1.0.6

Published

Crée un projet Next.js à partir du boilerplate Iros.

Downloads

719

Readme

create-iros-app

Crée un projet Next.js à partir du boilerplate Iros : architecture par features, authentification et base de données déjà branchées.

bun  create iros-app mon-projet
npm  create iros-app@latest mon-projet
pnpm create iros-app mon-projet

Puis :

cd mon-projet
bun run dev     # http://localhost:3017

Le projet démarre avec une landing publique, un tunnel d'inscription/connexion fonctionnel et un espace protégé de démonstration — sans aucune configuration préalable.


Ce que la commande fait pour vous

  1. Télécharge le template depuis un tag figé du dépôt Iros.
  2. Renseigne package.json (nom dérivé du dossier, version remise à 0.1.0).
  3. Personnalise src/config/site.config.ts avec le nom affiché et la description saisis.
  4. Génère .env depuis .env.example, avec un BETTER_AUTH_SECRET tiré aléatoirement et des URL alignées sur le port réel.
  5. Crée le dossier data/better-sqlite3 n'ouvre pas un fichier dans un dossier absent.
  6. Installe les dépendances, puis applique les migrations Drizzle.
  7. Initialise un dépôt Git avec un premier commit.

Trois questions sont posées au passage : le nom du projet (si absent de la ligne de commande), le nom affiché dans l'interface, et la description.

Options

| Option | Effet | | ---------------- | ---------------------------------------------------------------------- | | --yes, -y | Ne pose aucune question et retient les valeurs par défaut | | --no-install | N'installe rien et ne migre pas ; les commandes à lancer sont rappelées | | --no-git | Ne crée pas de dépôt Git | | --pm <nom> | Force le gestionnaire : bun, npm, pnpm ou yarn |

Sans --pm, le gestionnaire est déduit de la commande d'invocation (npm_config_user_agent). Le boilerplate épingle [email protected] via packageManager : s'en écarter produit un arbre de dépendances différent.

bun create iros-app mon-projet --no-install --no-git

Mode non interactif

prompts exige un terminal : sur une entrée redirigée, il s'interrompt sans rien créer. --yes est donc le seul mode utilisable en CI, dans un conteneur ou depuis un script.

bun create iros-app mon-projet --yes

Le nom affiché est alors dérivé du dossier (mon-projet → « Mon Projet ») et la description prend sa valeur par défaut. Sans dossier nommé, mon-app est retenu.

Prérequis

| Outil | Version | Rôle | | ------- | -------- | ----------------------------------------------------------- | | Node.js | ≥ 20 | Exécution de la CLI et de Next.js 16 | | Bun | ≥ 1.3.14 | Gestionnaire de paquets du projet généré | | Git | — | Commit initial ; inutile avec --no-git |

better-sqlite3 est un module natif. Un binaire précompilé couvre la plupart des plateformes ; si la compilation se déclenche, il faut une chaîne C++ — Visual Studio Build Tools (charge « Développement Desktop en C++ ») sur Windows, xcode-select --install sur macOS.

Le boilerplate

| Domaine | Choix | | ---------------- | ---------------------------------------- | | Framework | Next.js 16 (App Router, Turbopack) | | UI | React 19, Tailwind CSS 4 | | Langage | TypeScript strict | | Authentification | Better Auth (e-mail, Google, GitHub) | | Base de données | Drizzle ORM + SQLite | | État local | Zustand | | Formulaires | React Hook Form + Zod + next-safe-form | | Qualité | Biome |

cacheComponents, typedRoutes et le React Compiler sont activés. Le thème sombre repose sur une échelle de couleurs inversée : les composants n'écrivent aucune variante dark:.

Documentation complète : installation · conventions

Choisir une autre source de template

IROS_TEMPLATE remplace le tag par défaut — utile pour essayer une branche de travail ou une version antérieure :

IROS_TEMPLATE=github:4develhoper/iros#main node index.mjs mon-projet

Les fournisseurs Git (github:, gitlab:, bitbucket:, sourcehut:) et les URL de tarball sont acceptés ; un chemin local ne l'est pas.

Développement

git clone https://github.com/4develhoper/create-iros-app
cd create-iros-app
npm install
node index.mjs /tmp/essai-iros      # exécution directe
npm pack --dry-run                  # contenu réel de l'archive publiée

Licence

MIT