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

kni-cascade

v1.1.0

Published

KNI Cascade — an opinionated SCSS engine and single source of truth for design scaling.

Readme

KNI Cascade

A modern front-end architecture creating a single source of truth for all our CSS — across WordPress, React, static, or any future builds.

KNI Cascade unifies structure, tooling, and logic into a maintainable, portable system for all front-end projects.
It’s designed for clarity, scalability, and minimal friction — a single shared foundation that powers every KNI build.

What We Package

Folder Structure

scss/
├── 00-config/      # Tokens, mixins, functions, no CSS output
├── 01-base/        # Resets, type, layout, and core utilities
├── 02-components/  # Reusable UI building blocks
├── 03-modules/     # Larger composite regions (header, hero, footer)
├── 04-pages/       # Page-specific overrides
└── styles.scss    # Public entry file for final CSS build

🧩 Core Features

  • Fluid Typography – Scales seamlessly across breakpoints using $type-scale maps
  • Viewport-Based Units (pxv) – Uniform responsive sizing with fallback support
  • Token-Driven Architecture – Edit _settings.scss to update a project globally
  • Predictable Cascade – Each layer builds safely on the one before it
  • Framework-Agnostic – Single source of truth across any kni boilerplate

⚙️ Local Build Setup

# install dependencies
npm install

# run local dev build
npx gulp

By default, Gulp runs:

  • sass → compile SCSS → CSS
  • postcss → apply pxv
  • stylelint → lint & auto-fix code style
  • browsersync → live-reload for local development

Design Principles

  1. Settings-first – All editable project values live in _settings.scss.
  2. No CSS output in config – Logic, not styling.
  3. Token inheritance – Everything flows from primitives to components.
  4. Small overrides > big rewrites – The cascade should always work with you.
  5. Readable by default – Comments are documentation.

🧰 Requirements

  • Node v18+
  • npm or pnpm
  • Gulp CLI (global)

🧑‍💻 Contributing

  1. Clone this repo
  2. Create a new branch
  3. Run npx gulp and make your changes
  4. Submit a PR with a clear summary

🪄 Quick Philosophy

“If it’s visual, it lives in base.
If it’s reusable, it lives in components.
If it’s page-specific, it lives in pages.
And if it defines how the system works — it lives in config.”