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

v1.0.0

Published

CLI tool to scaffold Drogon C++ applications

Readme

create-drogon-app 🚀

Scaffold Drogon (C++) backend projects from ready-to-build templates.

Quick start ⚡

Create a new project using npm:

npm create drogon-app@latest

Or run via npx:

npx create-drogon-app

If your npm version requires -- to forward arguments:

npm create drogon-app@latest -- create my-service -t drogon-starter

Usage 🧭

Interactive mode (no arguments):

create-drogon-app

Create a project (legacy positional form):

create-drogon-app my-service

Create a project (explicit subcommand):

create-drogon-app create my-service

List templates:

create-drogon-app list

Help/version:

create-drogon-app --help
create-drogon-app --version

Options ⚙️

  • -t, --template <template>: template ID (folder name under templates/)
  • -y, --yes: skip prompts and use defaults when possible
  • -f, --force: overwrite the target directory if it already exists

Examples:

create-drogon-app create my-service -t drogon-jwt-postgres-s3
create-drogon-app create -y -t drogon-starter

Templates 📦

Template IDs are the folder names under templates/. If --template is not provided, the CLI uses the first template in alphabetical order.

| Template | Includes | Best for | |---|---|---| | drogon-starter | Drogon starter + PostgreSQL (Docker Compose) + GET /health sample route | A clean baseline backend | | drogon-jwt-postgres | PostgreSQL (Docker Compose) + JWT auth + GET /health | Authenticated APIs | | drogon-jwt-postgres-s3 | PostgreSQL (Docker Compose) + JWT auth + AWS S3 integration (AWS SDK) + local MinIO | Auth + object storage | | drogon-postgres-s3 | PostgreSQL (Docker Compose) + AWS S3 integration (AWS SDK) + local MinIO | Object storage without JWT |

Each generated project includes its own README.md with template-specific setup commands.

Prerequisites ✅

For the generator:

  • Node.js (recommended: active LTS)
  • npm

For building/running the generated C++ project:

  • C++17 toolchain (GCC/Clang)
  • CMake >= 3.15
  • Python 3 + pip
  • Conan
  • Docker (optional; templates use it for local services like PostgreSQL/MinIO)

What the CLI copies 🗂️

The CLI creates the target folder (relative to your current working directory) and copies the selected template into it.

By default it excludes: .git, node_modules, build, dist, .cache.

Maintainer docs 🧑‍💻

See docs/CODEBASE.md.

License 📄

MIT