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

grid.min

v0.0.3

Published

A minimum grid framework

Readme

Grid.min

A minimum and lightweight responsive grid CSS library.

npm license

Table of Contents

Installation

  • npm: npm install --save grid.min (https://www.npmjs.com/package/grid.min)

  • Sample CDN: <link rel="stylesheet" type="text/css" href="https://rawgit.com/paulocheque/grid.min/master/dist/grid.min.css">

About the Library

  • grid.css ~4.3kb
  • grid.min.css ~3.1kb
  • grid.min.css.gz ~650bytes
  • No typographic css or other stuff.

Motivation

Most of the CSS frameworks and libraries define many CSS classes and include some default design in the library. Eventually, the frontend developer will have to override these CSS classes for customisation which generates many bad practices. Another option is to compile the framework with your design variables, with is not a straightforward solution.

For that reason, grid.min does not include any default design at all and provides only a few CSS classes that will help to create responsive grids. It also does not include any component into the library, since this library has only one responsibility: provide an easy way to create responsive grids.

Documentation

The library is so simple that all the documentation is below.

Live example

JSFiddle: https://jsfiddle.net/n54ru51z/1/

The Grid

  • Grid of 12 columns
  • Default configured media queries: 360, 480, 640, 768, 1024 and 1200 px.
  • Border-sizing: border-box
  • Columns have the same height
  • Margins, paddings and borders are 0 by default.
  • Recommendation to use normalize.css.

CSS Classes

.grid, .col, .c-*, .c-360-*, .c-480-*, .c-640-*, .c-768-*, .c-1024-*, .c-1200-*

  • * means 1 to 12

Sample Code

<!DOCTYPE html>
<html>
  <head>
    <!-- Required -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- Recommended -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" integrity="sha256-t2/7smZfgrST4FS1DT0bs/KotCM74XlcqZN5Vu7xlrw=" crossorigin="anonymous" />

    <!-- Required -->
    <link rel="stylesheet" type="text/css" href="./grid.css">
  </head>
  <body>
    <div class="grid">
      <div class="col c-12 c-360-12 c-480-6 c-640-4 c-768-3 c-1024-2 c-1200-1">cell 1</div>
      <div class="col c-12 c-360-12 c-480-6 c-640-4 c-768-3 c-1024-2 c-1200-1">cell 2</div>
      <div class="col c-12 c-360-12 c-480-6 c-640-4 c-768-3 c-1024-2 c-1200-1">cell 3</div>
      <div class="col c-12 c-360-12 c-480-6 c-640-4 c-768-3 c-1024-2 c-1200-1">cell 4</div>
      <div class="col c-12 c-360-12 c-480-6 c-640-4 c-768-3 c-1024-2 c-1200-1">cell 5</div>
      <div class="col c-12 c-360-12 c-480-6 c-640-4 c-768-3 c-1024-2 c-1200-1">cell 6</div>
      <div class="col c-12 c-360-12 c-480-6 c-640-4 c-768-3 c-1024-2 c-1200-1">cell 7</div>
      <div class="col c-12 c-360-12 c-480-6 c-640-4 c-768-3 c-1024-2 c-1200-1">cell 8</div>
      <div class="col c-12 c-360-12 c-480-6 c-640-4 c-768-3 c-1024-2 c-1200-1">cell 9</div>
      <div class="col c-12 c-360-12 c-480-6 c-640-4 c-768-3 c-1024-2 c-1200-1">cell 10</div>
      <div class="col c-12 c-360-12 c-480-6 c-640-4 c-768-3 c-1024-2 c-1200-1">cell 11</div>
      <div class="col c-12 c-360-12 c-480-6 c-640-4 c-768-3 c-1024-2 c-1200-1">cell 12</div>
    </div>
  </body>
</html>

Supported Browsers

| OS / Browser | Chrome | Firefox | Safari | Opera | MS Edge | MS IE 11 | |--------------|-----------|-----------|-----------------------|-----------|-----------|-----------| | Mac | Supported | Supported | Supported1 | Supported | N/A | N/A | | Linux | Supported | Supported | ? | Supported | N/A | N/A | | Windows | Supported | ? | ? | ? | Supported | Supported | | Android | ? | ? | ? | ? | N/A | N/A | | iOS | ? | ? | Supported1 | ? | N/A | N/A |

    1. Safari has some issues with border-box and display: table when stacking horizontally.