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

minimaz-cli

v0.3.1

Published

Minimal project initializer and builder CLI

Readme

Minimaz CLI 🎄

Minimaz is a minimal, low-dependency static site builder and project initializer focused on speed, simplicity, and clean output.

🚀 Features

  • 📁 Initialize projects from templates
  • 🧩 Save, list, and delete custom templates
  • 📝 Supports HTML, CSS, JS, and TypeScript (.ts → .js)
  • 🧹 Minifies HTML, CSS, JS, and TS (compiled & minified)
  • ⚙️ Configurable with a minimaz.config.json file
  • ➕ Supports concatenation of additional scripts and styles
  • 🪄 Optional path replacements for asset links
  • 🪶 Lightweight and fast — ideal for small static or utility projects
  • 🔥 Usable with minimaz or its alias mz
  • 💻 NPM integration and optional Git repository initialization
  • ⏱ Interactive prompts with 60s timeout

📦 Installation

Run directly with npx without global install:

npx minimaz init my-site
cd my-site
npx minimaz build
npx minimaz version

Or using the alias:

npx mz i my-site
npx mz b
npx mz v

📁 Project Structure

my-site/
├── dist/              # Output folder (generated)
├── public/            # Static assets (images, fonts, etc.)
├── src/               # HTML, CSS, JS, TS files
├── minimaz.config.json
├── package.json       # Optional, created if npm init is used
├── .gitignore         # Default gitignore copied from template
└── ...

⚙️ Configuration

Customize your build using a minimaz.config.json file:

{
  "src": "src",
  "dist": "dist",
  "public": "public",
  "bundling": {
    "css": true,
    "js": true
  },
  "minify": {
    "html": true,
    "css": true,
    "js": true,
    "ts": true
  },
  "replace": {
    "../public/": "public/"
  },
  "folders": {
    "src": "",
    "public": "public"
  },
  "styles": [
    "../node_modules/some-package/dist/library.css",
    "C:/Users/YourUser/Desktop/custom.css"
  ],
  "scripts": [
    "../node_modules/some-package/dist/library.js",
    "D:/Scripts/custom.js"
  ]
}
  • styles (optional): array of .css files to include in the build, can be inside src, node_modules, or any absolute/relative path on your system.
  • scripts (optional): array of .js files to include in the build, can also point outside src.
  • If omitted, fallback defaults are style.css and script.js.
  • bundling.css / bundling.js: controls whether listed CSS/JS files are concatenated into a single style.css / script.js.
  • minify.html, minify.css, minify.js, minify.ts: enable minification for the corresponding file types. TypeScript files are compiled to JS before minification.

Tip: Using external paths is useful for including library CSS/JS without copying them into your project.

🛠 Commands

# -----------------------------
# Build
# -----------------------------
minimaz build        # Build and minify the project
mz b                 # alias

# -----------------------------
# Clear
# -----------------------------
minimaz clear        # Delete the dist folder
mz c                 # alias

# -----------------------------
# Init
# -----------------------------
minimaz init <project-name>                     # Initialize a new project with default template
mz i <project-name>                             # alias

minimaz init <project-name> --template <name>   # Use a specific template
mz i <project-name> -t <name>                  # alias

minimaz init <project-name> --npm              # Initialize npm project
minimaz init <project-name> --git              # Initialize git repository

# Specify git provider or remote URL
minimaz init <project-name> --git --gitprovider <provider-or-url>
mz i <project-name> --git --gitprovider github       # alias example

# -----------------------------
# Help
# -----------------------------
minimaz help                    # Show general help
mz h                             # alias
minimaz help <command>          # Show help for a specific command
mz h build                       # alias example

# -----------------------------
# Template management
# -----------------------------
minimaz template <template-path>              # Save current folder as a template
minimaz t <template-path>                     # alias

minimaz template --list                       # List available global templates
minimaz t -l                                  # alias

minimaz template --delete <template-name>     # Delete a saved template
minimaz t -d <template-name>                  # alias

minimaz template --update <template-name>     # Update a specific template from current folder
minimaz t -u <template-name>                  # alias

minimaz template --update                     # Update all templates from node_modules
minimaz t -u                                  # alias

# -----------------------------
# Version
# -----------------------------
minimaz version        # Show Minimaz CLI version
mz v                   # alias

📂 Templates

Minimaz supports global templates stored in:

~/.minimaz/templates

Use them to quickly initialize consistent projects across environments.

📄 License

MIT


     _     _
    /)\___/(\
   /.--. .__.\   _-'''-_
  /\_(O) (O)_/\ /\ | /  \    ____    ____          ________         __   __
 _.-._(_c_)_.-./\ \ / / /)  [__  \  /  __]        [  __   _]       [  ] [  ]
(__(((______)))__--''/ //     ]   \/   [   ______ [_/ /'/    _____  ] [  ] [  _____  ______
 |__||_||_||_||__||  / )      [ [\  /] ]  [  /  \]   /'/  _ / /__\\ [ ]  [ ] / /__\\[  /  \]
 |  || || || ||  ||  |/      _] [_\/_] [_  ] [     _/'/__/ ]\ \___  ] [  ] [ \ \___  ] [
 |__||_||_||_||__||__|      [_____][_____][___]   [________] \___/ [___][___] \___/ [___]

    MrZeller
        Website: zellerindustries.com
            Mail: [email protected]