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

loforger

v0.2.8

Published

Interactive CLI for scaffolding modern web projects

Downloads

623

Readme

Loforger

Interactive CLI for scaffolding modern web projects with best practices built-in.

Features

  • 🎯 Interactive Questionnaire - Guided setup with intelligent defaults
  • 🔍 Compatibility Checking - Prevents bad stack combinations
  • 📦 Production-Ready Templates - MVP and Production modes
  • 🎨 Beautiful Terminal UI - Built with React and Ink
  • Context7 Integration - Always up-to-date with latest library APIs

Installation

Quick Start (Recommended)

npx loforger create

Global Installation

For NTFS/FUSE filesystems (Windows, WSL):

git clone https://github.com/salmondarat/loforger.git
cd loforger
./scripts/install.sh

For standard Unix filesystems:

npm install -g loforger

See docs/INSTALLATION.md for detailed installation options and troubleshooting.

Quick Start

Interactive Mode

loforger create

This launches an interactive questionnaire that guides you through:

  • Project mode (MVP, Production, or Extend)
  • Target platform (Web, Mobile, API)
  • Frontend framework (Next.js, Nuxt, React Native, etc.)
  • Backend framework (Next.js API, NestJS, Supabase, etc.)
  • Database (PostgreSQL, SQLite, MongoDB, etc.)
  • Authentication (Supabase Auth, Clerk, NextAuth, etc.)
  • And more...

Quick Start with Preset

loforger create --preset nextjs-supabase-mvp

Available presets:

  • nextjs-supabase-mvp - Next.js + Supabase for rapid SaaS development
  • nestjs-postgres-mvp - NestJS API with PostgreSQL

List Presets

loforger list-presets

Project Modes

MVP Mode

Minimal setup optimized for rapid prototyping:

  • Skip CI/CD, Docker, monitoring
  • Use SQLite or simple databases
  • Basic auth only
  • Fastest path to a working prototype

Production Mode

Full setup with enterprise best practices:

  • CI/CD pipeline (GitHub Actions)
  • Docker containerization
  • Monitoring and observability
  • Security hardening
  • Comprehensive testing setup

Extend Mode

Add features to existing projects:

  • Authentication
  • Payment integration
  • File storage
  • Background jobs
  • Analytics

Keyboard Controls

  • ↑ / ↓ - Navigate options
  • Enter - Select / Continue
  • Esc - Go back to previous question
  • e - Edit choices (on summary screen)

Compatibility Warnings

Loforger checks your stack combinations and warns about:

Errors (blocking):

  • NextAuth without Next.js
  • Prisma with Firestore
  • tRPC without TypeScript

Warnings:

  • SQLite in production mode
  • Next.js + Laravel (two ecosystems)
  • Kubernetes for MVP

Development

# Clone the repository
git clone <repo-url>
cd loforger

# Install dependencies
npm install

# Run tests
npm test

# Build
npm run build

# Run locally
node dist/index.js create

Architecture

Loforger consists of several key components:

  • Questionnaire Engine - Manages question flow, skip logic, and validation
  • Compatibility Engine - Checks for bad stack combinations
  • Template System - Loads and renders project templates
  • CLI Interface - Ink-based React components for the terminal UI

Contributing

See CONTRIBUTING.md for details on how to contribute.

License

MIT