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

nlstc-css

v6.1.3

Published

A light-weight utility-first responsive CSS library

Readme

CSS Utility Classes

🌐 Visit NLSTC Website

A lightweight CSS utility library for margins, paddings, flexbox layouts, text alignment, and animations. This package simplifies styling by providing pre-defined utility classes.

Installation

Install via npm:

npm i nlstc-css

Usage

You can generate a minified CSS file that only includes used classes:

npx nlstc build

In HTML

<link rel="stylesheet" href="./nlstc.min.css">
<!-- Or directly from node_modules (not recommended for production) -->
<link rel="stylesheet" href="node_modules/nlstc-css/nlstc.css">

In JavaScript/TypeScript

import './nlstc.min.css';

Optional: Naming Output CSS

To create a smaller CSS file containing only classes actually used in your project, but with your custom path and filename:

npx nlstc build --out "./dist/your_name.css"

Features

Margins and Paddings

Utility classes for consistent spacing:

  • .m-{size}: Sets margin.
  • .p-{size}: Sets padding.
  • Sizes: 0, 4px, 8px, 16px, 24px, 32px, 48px, 64px.

Examples:

<div class="m-16px p-8px">Content</div>

Responsive Variants

Use sm, md, lg, and xl for responsive spacing:

<div class="m-sm-4px mt-lg-32px">Responsive Spacing</div>

Flexbox Utilities

  • .flex: Sets display: flex.
  • .inline-flex: Sets display: inline-flex.
  • .flex-row / .flex-column: Set flex direction.
  • .justify-center / .justify-between: Align items horizontally.
  • .align-center / .align-start: Align items vertically.

Text Utilities

  • .text-left, .text-center, .text-right: Text alignment.
  • .font-bold, .font-normal, .font-light: Font weights.

Animations

Predefined animations for various visual effects:

  • .fade-in: Fade in effect.
  • .spin: Rotating effect.
  • .bounce: Bounce effect.
  • .slide-in: Slide in from the left.
  • .zoom-in: Zoom in effect.
  • .zoom-out: Zoom out effect.
  • .shake: Shake horizontally.
  • .pulse: Smooth pulsing effect.
  • .rotate-in: Rotates while fading in.
  • .flip: 3D flip rotation effect.
  • .slide-down: Slides down from the top.
  • .slide-up: Slides up from the bottom.
  • .wobble: Wobbles side to side with rotation.
  • .bounce-in: Bounces into view with scaling.
  • .flash: Repeated flashing effect.
  • .swing: Swings back and forth.
  • .fade-in-down: Fades in while sliding down.
  • .fade-out-up: Fades out while sliding upward.
  • .heartbeat: Heartbeat-like pulsing effect.
  • .rubber-band: Stretchy elastic effect.
  • .light-speed-in: Slides in quickly with a skewed light-speed effect.
  • .light-speed-out: Slides out quickly with a skewed light-speed exit.
<div class="fade-in">Fades in on load</div>
<div class="spin">Spins continuously</div>

Customization

Modify the source CSS file to add or adjust classes as needed.

License

This project is licensed under the MIT License.