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

fastcss

v0.3.2

Published

A config-driven SASS/SCSS utility CSS framework. Generate responsive helper classes for colors, typography, flexbox, grid, spacing and shadows from a single config map.

Readme

Fastcss

A config-driven SASS/SCSS utility CSS framework. Define your design tokens once in _config.scss and Fastcss generates responsive helper classes for colors, typography, spacing, flexbox, grid, shadows, gradients and more — no build magic, just Sass.

Documentation

Full class reference and live examples at fastcss.org.


Installation

  1. Install via npm or yarn
npm i fastcss
yarn add fastcss
  1. Copy the default configuration into your project
node_modules/fastcss/scss/_config.scss
  1. Import fastcss with your custom configuration and compile
@use 'fastcss' with ($config: ...);
  1. Build the CSS

Fastcss uses Webpack, but any bundler that supports the Sass @use rule works fine. See node_modules/fastcss/scss/build.scss for how the module is imported with the default config, and webpack.config.js for the build setup.


Usage

Responsive prefixes

All utility classes support responsive breakpoint prefixes:

<div class="flex sm:flex-col md:flex-row">...</div>

Available prefixes: xs: sm: md: lg:

State variants

Interactive state prefixes work on most utility classes:

<div class="bs-1 hover:bs-3">...</div>

Available prefixes: hover: focus: active:

Child/sibling state toggles

Toggle visibility or display of child or sibling elements based on parent state:

<!-- shows .dropdown when .parent is hovered -->
<div class="parent hover:child-show">
  <div class="dropdown child-hidden">...</div>
</div>

Configuration

All design tokens are defined in _config.scss. Key sections:

| Key | What it controls | |---|---| | colors.palette | Color names, variants, and their base hex values | | colors.gradients | Named and numeric gradient definitions | | typography | Font sizes, weights, families, line heights | | box.shadow | Named and numeric box shadow definitions | | box.border-width | Border width scale | | box.border-radius | Border radius scale | | box.width / box.height | Width and height scale | | box.spacing | Margin and padding scale |

Example — adding a custom color:

'colors': (
  'palette': (
    'brand:100,500,900': #6200EA,
  ),
),

This generates .brand-text:500, .brand-fill:500, .brand-border:500, and their responsive and state variants.


Contributing

Follow the existing patterns and submit a PR — any contribution is welcomed.

License

Fastcss is open-sourced under the MIT license.