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

sass-objective

v0.0.4

Published

Collection of CSS Objects and Helpers

Readme

Objective Build Status Dependency Status devDependency Status

Collection of Useful CSS Objects and Helpers

Objective.css Objective on GitHub

About

Purpose

Objective is a collection of classes that can help write more modular and maintainable styles by following OOCSS rules.

Objective is not a framework in the typical sense. It's a project starter, a kick-start to building layouts. It's also not a grid, it works with any grid system you want (if you want).

Usage

Use Objective like you would any set of styles. I'd recommend concatenating it with the rest of your styles.

Helpers

Helpers are quick classes you can add to any element regardless of markup.

Alignment

.align--left Aligns text left.

.align--right Aligns text right.

.align--center Centers text.

.align--justify Justifies Text.

Filling

.fill Fills an element horizontally to its parent.

Floating

.float--left Floats an element left.

.float--right Floats an element right.

Clearing

.clear Clears all floats.

Also: Clearfix

Hiding

.collapse Collapse an element.

.hidden Hide an element from both screen-readers and browsers.

.invisible Hide an element visually and from screen-readers, but maintain layout.

.visuallyhidden Hide an element only visually, but have it available for screen-readers.

.focusable Extends the .visuallyhidden helper to allow the element to be focusable when navigated to via the keyboard.

Image Replacement

.img Hides text. Use with additional styling to add a height, width, and background. Must set height and width in order to hide text properly.

Objects

Objects are groups of classes and/or classes that depend on markup.

Aspect Ratio

by Thierry Koblentz (A List Apart)

.aspect The base class that sets the ratio.

.aspect-content An inner class that helps position the target.

.aspect-target Sets the target to be positioned (ie. iframe, video).

.aspect--{{ratio}} Modifies the base class (.aspect) to have a different ratio. Included {{ratio}}s are 1x1, square, 5x4, 4x3, standard, 3x2, 8x5, 16x10, 5x3, 16x9, hd, 17x9.

<div class="aspect aspect--hd">
  <div class="aspect-content">
    <video class="aspect-target">...</video>
  </div>
</div>

Clearfix

by Nicolas Gallagher

.clearfix Add the micro-clearfix hack to self-contain floats using pseudo elements.

<div class="clearfix">
  <div class="float--left">...</div>
  <div class="float--left">...</div>
  <div class="float--left">...</div>
</div>

Core

by James Kyle

.core Base class that sets the vertical alignment of the content. Defaults to centered.

.core-content An inner class that positions the content.

.core--[top/bottom] Modifies the vertical alignment on the base class to either top or bottom.

<div class="core core--bottom">
  <div class="core-content">...</div>
</div>

Flag

by Harry Roberts (CSS Wizardry)

.flag Base class that positions and vertically aligns the target and content. Defaults to centered.

.flag-target A target class that positions the media correctly.

.flag-content An inner class that positions the content correctly.

.flag-[top/bottom] Modifier classes that sets the vertical alignment on the base class to either top or bottom.

<div class="flag flag--bottom">
  <div class="flag-target">
    <img src="image.png">
  </div>
  <div class="flag-content">...</div>
</div>

Media

by Nicole Sullivan

.media Base class that helps position (includes clearfix).

.media-content

This works with the .float--left and .float--right classes to position the media to either side.

<div class="media">
  <img class="float--left" src="image.png">
  <div class="media-content">...</div>
</div>

Project

Contribute

Github Repo · Issues · Pull Requests

You may contribute to this library by submitting either an issue report for a bug/request or a pull request for a code contribution.

License

This project is provided under the terms of the MIT License.


Authored by James Kyle · Github · Twitter · CodePen

Built Equal · Made in Boston