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

cssoliver

v1.0.0

Published

Oliver CSS Framework — lightweight, modular, and fully-featured CSS framework

Readme

Oliver Framework (cssoliver)

Version GitHub stars GitHub forks License: MIT

Oliver Framework (cssoliver) is a lightweight, fully-featured CSS framework designed for rapid web development and learning. It provides modular utilities, responsive layouts, pre-built components, and customizable variables, making it suitable for both beginners and professional developers.


Table of Contents


Features

  • Lightweight and modular — include only what you need
  • Utility classes for spacing, colors, typography, flex, grids, and more
  • Responsive and mobile-first design
  • Pre-designed components: buttons, cards, alerts, forms, modals, navbar
  • Animations & transitions: fade, slide, hover effects
  • Customizable via CSS variables: colors, spacing, fonts, shadows, borders
  • Easy integration with any HTML project

Installation

Include the CSS in your project by linking the compiled framework file:

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

Or via npm/yarn:

npm install cssoliver
# or
yarn add cssoliver

Then import in your main CSS or SCSS file:

@import "node_modules/cssoliver/dist/cssoliver.css";

Usage

Buttons

<button class="btn btn-primary">Primary</button>
<button class="btn btn-outline">Outline</button>

Cards

<div class="card p-4 shadow rounded">
  <h3>Card Title</h3>
  <p>This is a card description.</p>
</div>

Utilities

<p class="text-center m-4 p-2 bg-primary text-light">Centered text with spacing</p>

Components

  • Buttons: .btn, .btn-primary, .btn-outline, .btn-success
  • Cards: .card, .card-header, .card-footer
  • Alerts: .alert, .alert-success, .alert-danger
  • Forms: .form-input, .select, .textarea, .form-group
  • Modals: .modal, .modal-header, .modal-body, .modal-footer
  • Navbar: .navbar, .nav-item, .nav-link

Utilities

  • Spacing: .m-1 to .m-4, .p-1 to .p-4
  • Text: .text-center, .text-right, .text-uppercase
  • Colors: .bg-primary, .text-success, .bg-light
  • Display & Flex: .d-flex, .justify-center, .align-center, .flex-column
  • Borders & Shadows: .rounded, .shadow, .border
  • Visibility & Position: .hidden, .visible, .position-relative, .position-absolute

Layout & Grid System

  • Container: .container for fixed-width or full-width layouts
  • Rows & Columns: .row, .col, .col-6, .col-4
  • Flex Utilities: .d-flex, .justify-between, .align-center
  • Responsive Helpers: .col-md-6, .col-lg-4
  • Gap Utilities: .gap-1 to .gap-4

Responsive Design

Oliver Framework is mobile-first and includes built-in responsive breakpoints:

<div class="col-12 col-md-6 col-lg-4">
  Responsive Column
</div>
  • col-12 → full-width on small screens
  • col-md-6 → half-width on medium screens
  • col-lg-4 → one-third width on large screens

Build System

You can rebuild the framework or generate a minified production build:

# Build full CSS
npm run build

# Build minified CSS
npm run build:min

File Structure:

dist/
  cssoliver.css
  cssoliver.min.css
src/
  reset.css
  variables.css
  typography.css
  layout.css
  animations.css
  responsive.css
  utilities.css
  components/
    forms.css
    buttons.css
    cards.css
    alerts.css
    navbar.css
    modals.css
  framework.css   (imports everything)

Contributing

We welcome contributions! Steps:

  1. Fork the repository
  2. Create a new branch: git checkout -b feature/your-feature
  3. Commit your changes: git commit -m "Add new feature"
  4. Push to the branch: git push origin feature/your-feature
  5. Open a pull request

See the GitHub repo for more details.


License

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


Documentation

Visit the docs folder for full documentation: