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

microflame

v1.0.14

Published

A minimal and powerful Node.js CLI boilerplate generator for MVC Express applications. MicroFlame leverages Express, Mongoose, and Winston directly, providing built-in scaffolding support to accelerate development.

Readme

🔥 MicroFlame.js – Express MVC CLI Generator

npm version downloads license

MicroFlame is a command-line tool (CLI) for generating full-featured Node.js Express MVC applications with views, models, routes, and environment setup — all in seconds.

It scaffolds boilerplate code for Express + Mongoose projects using best practices, including folder structure, routing, environment management, and logging. Perfect for quickly starting REST APIs or web apps with a view engine.

MicroFlame Logo


✨ Features

  • 📦 Uses Express, Mongoose, and Winston with zero wrapping
  • 🏗️ Scaffold models, views, controllers, and routes easily
  • 🚀 Initialize a fully structured project in seconds
  • ⚙️ Add environment variables across all environments with one command

🤔 Why MicroFlame?

Most Node.js boilerplate tools either add too much overhead or are not flexible enough. MicroFlame gives you:

  • A clean Express + Mongoose setup
  • CLI scaffolding for MVC architecture
  • Views, routes, models, and environment config
  • A fast way to prototype or build production-ready apps

🚀 Getting Started

1. Install MicroFlame CLI globally

npm install -g microflame

2. Initialize a New Project

microflame init my-app

This will:

  • Create a new directory my-app
  • Copy the base project boilerplate
  • Print instructions for running the development server

Next Steps:

cd my-app
npm install
# Fill in your environment variables in .env.development
npm run dev

🛠️ CLI Commands

📦 init

Create a new MicroFlame project:

microflame init <directory>

This command initializes a new project in the specified directory.

Example:

microflame init my-new-app

⚙️ generate (alias: g)

Scaffold components for your app:

Controller

microflame generate controller user --mode api

This generates a new controller for the user resource, with an API mode.

Example:

microflame generate controller user --mode views

Model

microflame generate model user

This generates a model for the user resource.

Example:

microflame generate model post

View

microflame generate view home

This generates a view template for the home page.

Example:

microflame generate view about

Route

microflame generate route user

This generates a route for the user resource.

Example:

microflame generate route post

🔐 add-env

Add a new environment variable to .env.development, .env.production, and the config system:

Example:

microflame add-env TEMPLATE_JWTPRIVATEKEY mySecretKey true

This adds a new environment variable called TEMPLATE_JWTPRIVATEKEY with the value mySecretKey and marks it as required (true).

📁 Project Code Structure

A detailed explanation of the project architecture, folder structure, and best practices.

➡️ Code Structure Guide


❤️ Contributing

If you'd like to contribute to MicroFlame, feel free to submit a pull request or open an issue.


📃 License

MIT License


🧯 Author

Built with care by Yaman Arab(Github: Yaman-cyber) 🛠️