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 🙏

© 2025 – Pkg Stats / Ryan Hefner

minimal-css-utility

v1.2.0

Published

A SCSS utility library.

Readme

Minimal CSS Utility

A lightweight CSS utility library to ease development.

Documentation

You can view the documentation at minimal-css-utility. The full documentation for the utility classes can also be found in the docs/ directory of this repository.

Motivation

I wanted a minimal CSS utility that provides just basic features to get started quickly without the bloat of larger frameworks.

For my projects, I use reset.css and a set of utility classes without external libraries, I move them from project to project. This eliminates it and makes it easier to maintain and view the docs.

Features

  • Reset CSS
  • Grid Layout
  • Utility classes for:
    • Borders & Shadows
    • Display
    • Flexbox
    • Interactivity (cursor, opacity)
    • Overflow
    • Positioning
    • Sizing
    • Spacing
    • Typography

Installation

Install the package from npm:

# using npm

npm install minimal-css-utility

# or using yarn

yarn add minimal-css-utility

# or using pnpm
pnpm add minimal-css-utility

CDN

You can also use the compiled CSS file from a CDN:

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/minimal-css-utility/dist/min.css"
/>

Link: https://cdn.jsdelivr.net/npm/minimal-css-utility/dist/min.css

Usage

You can either import the compiled CSS file into your project or import the SCSS files.

CSS

Import the min.css file in your main CSS file:

@import 'minimal-css-utility/dist/min.css';

SCSS

Import the style.scss file in your main SCSS file:

@import 'minimal-css-utility/scss/style.scss';

CSS Scoping

You can scope all the generated CSS under a specific parent selector (e.g., .my-app) by configuring the $css-scope variable. Since this project uses Sass modules, you need to configure the variables module before loading the styles.

// Configure the variables module
@use 'minimal-css-utility/scss/abstracts/variables' with (
  $css-scope: '.my-app'
);

// Load the styles
@use 'minimal-css-utility/scss/style';

Building from source

If you want to build the CSS from the source SCSS files, you can do so by following these steps:

  1. Clone the repository:

    git clone https://github.com/aghontpi/minimal-css-skeleton.git
  2. Install the dependencies:

    pnpm install
  3. Build the project:

    pnpm build

This will generate the dist/min.css file.

License

This project is licensed under the MIT License. See the LICENSE file for details.