New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

scafflr-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scafflr-cli

A lightweight, opinionated CLI tool for scaffolding production-ready backend projects in seconds.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

scafflr-cli

A lightweight, opinionated CLI tool for scaffolding production-ready backend projects in seconds.

Why scafflr?

Setting up a new backend project means repeating the same setup tasks: configuring Express, connecting to MongoDB, organizing folder structures, setting up TypeScript, and writing basic middleware. scafflr eliminates this busywork by generating battle-tested starter templates so you can focus on what matters—building your application.

Current Features

Interactive Project Initialization
Run scafflr init and answer a few prompts to generate a complete project structure with sensible defaults.

Multiple Templates
Choose between JavaScript or TypeScript templates, both featuring Express.js and MongoDB integration out of the box.

Zero Configuration
Get a working backend instantly with proper folder structure, environment setup, and essential middleware pre-configured.

Roadmap

Next additions:

  • Module Generators - Generate authentication, file uploads, payments, and more with a single command
  • Additional Templates - Go, Spring Boot, Python/FastAPI, and other popular backend stacks
  • Plugin System - Extend scafflr with custom generators and templates

Quick Start

Installation

Clone and install:

git clone https://github.com/harshith-1008/scafflr-cli.git
cd scafflr-cli
pnpm install

Link the CLI globally:

pnpm run build
pnpm run link-cli

Create Your First Project

scafflr init

Follow the prompts to:

  • Name your project
  • Select a template (Express + MongoDB in JS or TS)
  • Watch scafflr generate your project structure

Navigate to your new project and start building:

cd your-project-name
pnpm install
pnpm dev

Development

Want to contribute or modify scafflr? Here's how:

Run in development mode:

pnpm dev

Build the TypeScript source:

pnpm build

Test your changes:

pnpm run link-cli
scafflr init

License

License

Built with pnpm, TypeScript.

FAQs

Package last updated on 16 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts