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

ngududcss

v0.1.3

Published

Utility-first CSS ringan ala NgududCSS

Readme

NgududCSS

NgududCSS adalah utility-first CSS sederhana supaya kamu bisa pakai kelas siap pakai tanpa nulis CSS manual, mirip gaya Tailwind.

Repo: https://github.com/ZeroByte000/NgududCSS Docs: https://zerobyte000.github.io/NgududCSS/

Install & usage ala Tailwind

Ada 3 cara umum: build lokal (CLI), PostCSS, atau CDN.

1) Build lokal (CLI)

Install dulu (jika sudah dipublish ke npm):

npm i -D ngududcss

Build manual:

npx ngudud build

Watch mode:

npx ngudud watch

Atau pakai script lokal:

npm run build

Hasilnya ada di dist/ngudud.css, lalu import di HTML:

<link rel="stylesheet" href="dist/ngudud.css" />

2) Integrasi PostCSS (plugin khusus)

Plugin ini akan generate CSS dari ngudud.config.js dan menambahkannya ke pipeline PostCSS.

// postcss.config.js
module.exports = {
  plugins: [
    require("ngududcss/postcss-ngudud")({
      config: "./ngudud.config.js",
    }),
    require("autoprefixer"),
  ],
};

Lalu di package.json:

{
  "scripts": {
    "build:css": "postcss src/app.css -o dist/app.css"
  }
}

Kamu bisa tambahkan CSS entry point seperti src/app.css (isi bebas), lalu plugin akan append utilitas NgududCSS ke output.

3) CDN

Setelah publish, kamu bisa host dist/ngudud.css di CDN (misal GitHub Releases atau jsDelivr). Contoh (ganti versi sesuai rilis kamu):

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/ngududcss@latest/dist/ngudud.css"
/>

Struktur

  • src/base.css: reset dan base style
  • src/components.css: komponen ringan (btn, card, badge)
  • src/utilities.css: utility manual tambahan
  • ngudud.config.js: token desain (warna, spacing, dll)
  • dist/ngudud.css: hasil build
  • docs/index.html: landing page dokumentasi
  • docs/script.js: interaksi demo + search utilities
  • docs/utility-data.js: daftar utility hasil generate (auto dari build)

Dokumentasi

Landing page dokumentasi ada di docs/index.html dan sudah memakai CDN ngududcss. Untuk update daftar utility di docs, jalankan build:

npm run build

Lalu buka docs/index.html di browser.

Cara pakai

  1. Build CSS:
npm run build
  1. Pakai di HTML:
<link rel="stylesheet" href="dist/ngudud.css" />

<div class="p-4 bg-slate-50">
  <h1 class="text-3xl font-bold">NgududCSS</h1>
  <p class="text-slate-600 mt-2">Utility-first CSS ringan dan cepat.</p>
  <button class="btn mt-4">Mulai</button>
</div>

Utility yang tersedia

  • Spacing: m-*, p-*, mx-*, gap-*
  • Warna: text-*, bg-*, border-*
  • Tipografi: text-sm, text-lg, font-bold, uppercase
  • Layout: flex, grid, items-center, justify-between
  • Radius & shadow: rounded-*, shadow-*
  • Lainnya: w-full, h-full, border, hidden

Ubah token di ngudud.config.js lalu jalankan build ulang untuk update utilities.