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 🙏

© 2024 – Pkg Stats / Ryan Hefner

utilcssm

v1.0.5

Published

UCSSM is a CSS framework and a methodology for developing responsive, mobile first projects on the web

Downloads

5

Readme

UCSSM is a CSS framework and a methodology for developing responsive, mobile first projects on the web.

Unlike other similar projects such as Bootstrap or BEM, UCSSM focuses on the utilitarian philosophy of CSS: which advocates using atomized classes with individual utility applied to the element instead of creating an initial set of predefined structures, styles and effects, thus increasing the overall size of the CSS file and the time it takes to maintain it or resume development.

Websites and apps that were made with UCSSM have generally offered higher performance results: the painting speed will be reduced by half or more than that; the rendering time will be around 400% faster and the size of CSS files will remain smaller and easy to maintain.

Installation

  1. Clone this repo on your /stylesheet/ folder.
  2. Create a new file as a main .scss, ex. styles.scss.
  3. Append .scss to the template files: config_css, config_normalizer and config_vars.
  4. Open your main styles.scss and @import each template.

The correct order in your styles.scss must be:

Usage

You can read an introductory article about the Utilitarian CSS Methodology to learn how to build with this new approach.

Once you have imported all the files into your main styles.scss you can open config_css.scss in order to start activating all the CSS properties you need for your project. You can start with the basic one, display, by searching the variable $config-display and change its value to true:

The next step is to open $config_vars.scss and search for $displays. Uncomment some values:

Refresh your website and open the compiled version of styles.css it must compile:

Now you can add this classes to your project:

You can comment/uncomment any map value and Compass will compile automatically the CSS for you on the next build making easy to check which properties are you supporting for your projects.

You can add new values to any map, for the case of $colors, $margins, etc.

By doing this, your CSS output will be really strict and you will only dispose those properties that you need.

The grid system

This framework let you use all the power of CSS-Grid. On config_vars you can find the $columns: variable with the amount of columns your grid must support. If you change this number, it means you compile as much grid-template-columns--[NUMBER] as this variable needs.

List of supported properties

  • align-content
  • align-items
  • align-self
  • background-origin
  • background-size
  • background-color
  • background-repeat
  • background-clip
  • border-collapse
  • border-radius
  • border-style
  • border-width
  • box-decoration-break
  • box-sizing
  • color
  • column-count
  • column-fill
  • column-gap
  • column-rule-style
  • column-rule-color
  • display
  • flex-direction
  • flex-grow
  • flex-wrap
  • font-weight
  • font-style
  • grid-auto-flow
  • grid-column
  • grid-column-gap
  • grid-gap
  • grid-row
  • grid-row-gap
  • grid-template-columns1
  • grid-template-rows2
  • justify-content
  • justify-items
  • justify-self
  • object-fit
  • overflow
  • overflow-x
  • overflow-y
  • pointer-events
  • position
  • text-align
  • text-overflow
  • text-transform
  • vertical-align
  • visibility
  • white-space
  • width
  • word-wrap

The framework contains a normalizer module.

1 Can be used as sm-[property], md-[property]

2 Also can be triggered by responsive steps