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

minuto

v0.0.6

Published

Minimal static site generator for markdown content with Alpine.js and Tailwind support

Readme

Minuto

A minimal static site generator for markdown content with Alpine.js and Tailwind support.

Convention over configuration. Just create content and it works.

Installation

npm install minuto

Or use directly with npx:

npx minuto build

Quick Start

Option 1: Start with examples

# Create new project
mkdir my-site && cd my-site
npm init -y
npm install minuto

# Initialize with example content
npx minuto init

# Install dependencies and start
npm install
npm run dev

Option 2: Start from scratch

# Install
npm install minuto

# Create your content structure
mkdir -p content templates static

# Start development server (watches for changes)
npx minuto dev

# Build for production
npx minuto build

# Serve built site
npx minuto serve

Commands

  • minuto init [directory] [--template <type>] - Initialize a new project with example content
    • Templates: default, blog, portfolio, docs
  • minuto build - Build the static site
  • minuto serve - Serve the built site locally (http://localhost:3000)
  • minuto dev - Watch for changes and rebuild automatically + serve

Templates

Minuto comes with several starter templates:

Default Template

A clean, minimal template perfect for simple websites.

npx minuto init my-site
# or
npx minuto init my-site --template default

Blog Template

Optimized for blogging with post layouts and beautiful typography.

npx minuto init my-blog --template blog

Portfolio Template

Showcase your projects with a modern, dark-themed portfolio.

npx minuto init my-portfolio --template portfolio

Documentation Template

Perfect for documentation sites with sidebar navigation.

npx minuto init my-docs --template docs

Directory Structure

.
├── content/          # Your markdown files
│   └── index.md
├── templates/        # Handlebars templates
│   ├── default.hbs
│   └── partials/    # Optional partials
├── styles/          # Tailwind CSS source (optional)
│   └── main.css
├── static/          # CSS, JS, images (copied as-is)
│   └── script.js
└── build/           # Generated site (created on build)

Writing Content

Create .md files in the content/ directory with frontmatter:

---
title: My Post Title
date: 2025-10-26
template: default
---

# Your content here

Write your post in **Markdown**!

Frontmatter Options

  • title: Page title
  • date: Publication date
  • template: Template name (without .hbs extension, defaults to "default")
  • Any custom fields you want to use in your templates

Templates

Create .hbs files in the templates/ directory. Use {{{content}}} (triple braces) for the rendered markdown HTML.

Available variables:

  • {{{content}}} - Rendered markdown HTML
  • {{title}} - From frontmatter
  • {{date}} - From frontmatter
  • Any custom frontmatter fields

Partials

Create reusable template parts in templates/partials/:

<!-- templates/partials/header.hbs -->
<header>
  <nav>...</nav>
</header>

Use in templates:

{{> header}}

Static Assets

Put your CSS, JavaScript, images, etc. in the static/ directory. They'll be copied to the build output as-is.

Features

  • ✅ Markdown to HTML conversion
  • ✅ Frontmatter support (YAML)
  • ✅ Handlebars templates with partials
  • ✅ Automatic static file copying
  • ✅ Nested content directories
  • ✅ Development server with auto-rebuild
  • ✅ Automatic sitemap generation
  • ✅ HTML files support (alongside markdown)
  • ✅ Zero configuration needed
  • ✅ Alpine.js ready
  • ✅ Tailwind CSS v4 with automatic compilation

Tailwind CSS v4 Support

Minuto has built-in support for Tailwind CSS v4 with automatic compilation during build.

Setup Tailwind

  1. Create a styles/main.css file:
@import "tailwindcss";

/* Your custom CSS here */
  1. Minuto will automatically:

    • Detect your Tailwind CSS file
    • Compile it during minuto build
    • Watch for changes in minuto dev mode
    • Output to build/styles.css
  2. Include the compiled CSS in your templates:

<!-- templates/default.hbs -->
<!DOCTYPE html>
<html>
<head>
  <title>{{title}}</title>
  <link rel="stylesheet" href="/styles.css">
</head>
<body>
  {{{content}}}
</body>
</html>

Tailwind Configuration

Tailwind v4 uses CSS-based configuration. Add your custom theme in your CSS file:

@import "tailwindcss";

@theme {
  --color-primary: #3b82f6;
  --font-display: "Inter", sans-serif;
}

/* Your custom utilities */
@utility tab-* {
  tab-size: *;
}

Supported Entry Points

Minuto looks for Tailwind CSS in these locations (in order):

  • styles/main.css
  • styles/styles.css
  • styles/tailwind.css
  • tailwind.css
  • styles/index.css

Any file containing @import "tailwindcss" will be detected and compiled.

Alpine.js

For interactivity, include Alpine.js from CDN:

<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js"></script>

Then use Alpine directives in your templates or markdown:

<div x-data="{ open: false }">
  <button @click="open = !open">Toggle</button>
  <div x-show="open">Content</div>
</div>

Package.json Integration

Add to your project's package.json:

{
  "scripts": {
    "build": "minuto build",
    "serve": "minuto serve",
    "dev": "minuto dev"
  },
  "devDependencies": {
    "minuto": "^0.0.1"
  }
}

Then run:

npm run dev

Dependencies

Only 4 runtime dependencies:

  • markdown-it - Markdown parser
  • handlebars - Template engine
  • gray-matter - Frontmatter parser
  • commander - CLI framework

Dev dependency (optional - only needed if using Tailwind):

  • @tailwindcss/cli - Tailwind CSS v4 compiler

Philosophy

Convention over configuration. No config files, no complex build systems, just a simple compiler that turns markdown into beautiful static sites.

Perfect for:

  • Blogs
  • Documentation sites
  • Landing pages
  • Portfolio sites
  • Any content-focused website

License

MIT