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-tailwina-html

v1.0.0

Published

A modern HTML starter template with Tailwind CSS, Vite, and Handlebars

Readme

Tailwina

Tailwina is a modern, clean HTML starter template built with Tailwind CSS v4, Vite, and Handlebars. Perfect for building fast, customizable static websites.

🚀 Features

  • Vite - Lightning-fast development server with HMR
  • 🎨 Tailwind CSS v4 - Utility-first CSS framework
  • 📝 Handlebars - Minimal templating with partials support
  • 🧩 Zero Dependencies - No jQuery or heavy frameworks
  • 📱 Responsive - Mobile-first design approach
  • 🔧 Easy to Customize - Clean, well-organized structure
  • 📦 Modern Build - ES modules and modern JavaScript

📦 Installation

Prerequisites

Getting Started

  1. Clone the repository

    git clone <your-repo-url>
    cd tailwina
  2. Install dependencies

    pnpm install
    # or
    yarn install
  3. Start the development server

    pnpm dev
    # or
    yarn dev

    Open http://localhost:5173 in your browser.

  4. Build for production

    pnpm build
    # or
    yarn build

    Output files will be available in the dist directory.

  5. Preview the production build

    pnpm preview
    # or
    yarn preview

📂 Project Structure

/
├── public/              # Static assets (images, favicons, etc.)
│   ├── css/            # Custom CSS files
│   │   └── custom.css # Your custom CSS entrypoint
│   └── js/             # JavaScript files
│       └── custom.js  # Your custom JS entrypoint
├── scripts/             # Node scripts (favicons, placeholders, media optimization)
├── src/
│   ├── data/           # JSON data injected into Handlebars templates
│   ├── pages/          # HTML pages (entry points)
│   │   ├── index.html # Home page
│   │   └── about.html # About page
│   ├── partials/       # Handlebars partials (reusable components)
│   │   ├── head.html  # HTML head section
│   │   └── layout-default.html # Default layout
│   ├── styles/         # CSS files
│   │   ├── main.css   # Main stylesheet with Tailwind imports
│   │   └── tailwind-config.css # Tailwind configuration
│   └── js/             # JavaScript source files
│       └── main.js    # Main JavaScript file
├── vite.config.js      # Vite configuration
└── package.json        # Project dependencies

🎨 Customization

Tailwind Configuration

Customize your Tailwind theme by editing src/styles/tailwind-config.css:

@theme {
  --font-sans: 'Inter', sans-serif;
  /* Add your custom colors, fonts, etc. */
}

Adding Pages

Create new HTML files in src/pages/ directory. Each file will be automatically processed by Vite and Handlebars.

Example:

{{#> layout-default title="My Page" }}
<main>
  <h1>My New Page</h1>
</main>
{{/layout-default}}

Using Partials

Partials are reusable Handlebars components located in src/partials/. Use them in your pages:

{{> head title="My Page" }} {{> footer }}

Custom Styles

Add your custom CSS in src/styles/main.css or create new CSS files and import them.

🛠️ Available Scripts

| Command | Action | | --------------------------- | --------------------------------------------------- | | pnpm dev | Starts local dev server at localhost:5173 | | pnpm build | Build your production site to ./dist/ | | pnpm preview | Preview your build locally, before deploying | | pnpm format | Format code with Prettier | | pnpm optim:image | Optimize images (uses scripts/optimize-images.js) | | pnpm optim:video | Optimize videos (uses scripts/optimize-videos.js) | | pnpm optim:media | Optimize images + videos | | pnpm generate:favicon | Generate favicons (outputs to public/) | | pnpm generate:placeholder | Generate placeholder images |

🚀 Deployment

Deploy to Vercel

  1. Push your code to a Git repository
  2. Import your repository in Vercel
  3. Vercel will automatically detect your Vite project
  4. Deploy!

Deploy to Netlify

  1. Push your code to a Git repository
  2. Import your repository in Netlify
  3. Set build command: pnpm build
  4. Set publish directory: dist
  5. Deploy!

Deploy to Static Hosting

  1. Build your project: pnpm build
  2. Upload the contents of the dist directory to your hosting provider

📝 License

This project is licensed under the MIT License - see the LICENSE.md file for details.

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

🙏 Acknowledgments


Made with ❤️ for the web development community