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

@fayso/nostyle-css

v2.0.1

Published

A lightweight, utility-first CSS framework with zero JavaScript — use it like Tailwind, ship it lean.

Readme

NoStyle CSS

A lightweight, utility-first CSS framework with zero JavaScript.

Use it like Tailwind — ship it lean. Built for developers who want clean defaults without the bloat.

CI Deploy License: MIT

Documentation · Report Bug · Request Feature


Features

  • Utility-first — Tailwind-like class API (.flex, .gap-4, .text-lg, .rounded-lg, …)
  • Zero JavaScript — pure CSS, works everywhere
  • Tree-shakeable — PurgeCSS integration strips unused classes in production
  • Modular imports — import only base, utilities, or components
  • CSS variables — easy theming with --ns-* tokens (light + dark mode)
  • Tiny footprint — full build ~8 KB gzip, treeshaken even smaller
  • PostCSS pipeline — autoprefixer + cssnano included

Quick Start

Install

npm install @fayso/nostyle-css
# or
pnpm add @fayso/nostyle-css

Import

// Full framework (recommended)
import "@fayso/nostyle-css";

// Or selective imports
import "@fayso/nostyle-css/base"; // reset + CSS variables
import "@fayso/nostyle-css/utilities"; // utility classes
import "@fayso/nostyle-css/components"; // btn, card, badge, input, etc.

CDN

<link
  rel="stylesheet"
  href="https://fvrvz.github.io/nostyle-css/static/css/nostyle.css"
/>

Usage

<div class="container flex flex-col gap-4 p-6">
  <h1 class="text-2xl font-bold tracking-tight">Hello NoStyle</h1>
  <p class="text-muted text-sm">Lightweight and clean.</p>
  <button class="btn btn-primary">Get Started</button>
</div>

What's Included

| Category | Classes | | -------------- | --------------------------------------------------------------------- | | Layout | container, flex, grid, gap-*, items-*, justify-* | | Spacing | p-*, px-*, py-*, m-*, mt-*, mb-*, mx-auto | | Typography | text-xs → text-4xl, font-bold, tracking-*, uppercase | | Colors | text-body, text-muted, text-primary, bg-surface, bg-primary | | Borders | border, rounded, rounded-lg, shadow, shadow-sm | | Components | btn, btn-primary, card, badge, input, panel, prose | | Responsive | md:grid-cols-1, md:hidden |

Project Structure

nostyle-css/
├── nostyle/               # CSS framework package
│   ├── src/               # Source CSS (base, utilities, components)
│   ├── dist/              # Built output
│   └── postcss.config.cjs # PostCSS + PurgeCSS pipeline
├── docs-site-nuxt/        # Documentation site (Nuxt 4 + @nuxt/content)
├── .github/workflows/     # CI/CD (build, deploy, publish)
└── Dockerfile             # Multi-stage Docker build (dev/build/production)

Development

Prerequisites

Setup

git clone https://github.com/fvrvz/nostyle-css.git
cd nostyle-css
pnpm install

Scripts

pnpm run build        # Build NoStyle CSS + Nuxt docs
pnpm run dev          # Start Nuxt docs dev server
pnpm run build:css    # Build only the CSS framework
pnpm run preview      # Preview production docs build
pnpm run generate     # Static generate docs for deployment

Docker

docker build --target build -t nostyle-build .
docker build --target production -t nostyle-prod .
docker run --rm -p 8080:80 nostyle-prod

Tree-shaking

NoStyle uses PostCSS + PurgeCSS to strip unused classes:

cd nostyle
NOSTYLE_PURGE=1 postcss src/index.css -o dist/nostyle.treeshake.css

Or use the built-in script:

pnpm run build:css

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feat/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feat/amazing-feature)
  5. Open a Pull Request

Author

Faraaz Khan — @FaraazKhhan

Powered by FaySo 🚀

License

MIT © Faraaz Khan