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

recipe-cli

v1.1.6

Published

Easy cli solution to generate boilerplate projects

Readme

recipe-cli

The fastest and easy way to generate boilerplate projects with structure for production-ready.

Why use recipe-cli instead common technologies' cli?

  • Projects structured to different use cases.
  • Diferent platform deployment and CI CD Scripts configured.
  • Built-in helper scripts (build.sh in some projects).
  • Self-learning helper comments (Detailed instructions to customize the files, like instructions to controllers, views, models)

Installing

To install you can use npm to get globally on your machine:

npm i -g recipe-cli

After this you can get the list of project typing recipe-cli or init some project with recipe-cli {language}, like:

recipe-cli golang

A bunch of options will be showed to configure your project.

Golang Projects Boilerplates

1. API Project Structure (Mux Router)

  • Two database pre-configured configurations and models (Firebase || MongoDB) || Empty structure.
  • Heroku configuration files and build scripts.
  • MVP Project Structure with routes example, ready to customize.
  • Utilities package for JSON responses and Token validation already created.
  • Pre-configured Github Action script for deploy on heroku.
  • Pre-configured CORS.
project
├── Procfile
├── api
│   ├── controllers
│   │   └── entity.go (controller used on entity_routes inside routes package)
│   ├── db
│   │   └── database.go (database connection - Firebase || MongoDB || Empty)
│   ├── middlewares
│   │   └── middlewares.go (middleware functions to deal with cors configuration)
│   ├── models
│   │   ├── Entity.go (example of model in accord with database choosed)
│   │   └── Token.go (token model to be used with token validation function in security package)
│   ├── repository
│   │   └── entity_repository (example of repository function used inside controllers)
│   ├── responses
│   │   └── responses.go (utility to format JSON responses from the API)
│   ├── router
│   │   ├── router.go
│   │   └── routes (route pre-configured for each controller)
│   ├── server.go
│   └── utils
│       ├── json_utility (utility to work with Structs -> JSON management)
│       └── security (utility for validate token)
├── build.sh
├── config
│   └── config.go
├── deploy_to_heroku.sh (deploy to heroku with sh deploy_to_heroku.sh file)
├── go.mod
├── go.sum
├── heroku.yml (heroku configuration file for go projects)
├── main.go
└── vendor (vendoring of the dependencies)
    ...

30 directories, 17 files

2. CLI Project Structure

  • Utilities for command-line interface, like selectors and input user commands with validation.
  • Utility to integrate shell commands inside your application.
  • Pre-configured release configuration and script.
  • CI CD Scripts for publish release pre-configured.
  • Deploy and release with git tag -a v1.0.0 -m "Alpha Release" && git push origin v1.0.0 (the version have to be the same of package.json)
  • NPM deploy script configured, production-ready, publish with npm publish.
  • Install GO CLI package with npm install -g your-package, update with npm update -g your-package.
project
├── cli
│   ├── selector_cli.go (selector cli interface)
│   └── user_input.go (user input cli interface with validation)
├── cmd
│   ├── other_command (example of declaring subcommand)
│   │   └── other_command.go
│   └── root.go
├── go.mod
├── go.sum
├── main.go
├── package.json
├── utils (go commands utilities and shell commands utilities)
│   ├── go_commands
│   │   ├── go_mod.go
│   │   └── shell_commands.go
│   └── shell_commands
└── vendor
    ...

27 directories, 11 files