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

setmy-info-less

v5.2.7

Published

SMI LESS project

Readme

setmy-info-less

The base layer of the SMI LESS framework. Contains the complete token system (colors, fonts, spacing, z-index), HTML element resets, and a full set of single-purpose utility classes for layout, visibility, sizing, scrolling, text, and cursor behavior. Also includes responsive device breakpoints (phone, pad, watch, print), float-based column helpers, and structural component anchors for Angular/Vue application shells.

For what: Provides the CSS foundation that every other SMI LESS package builds on. Start here if you want browser-consistent resets and a token-driven utility layer. The output CSS is self-contained and can be used standalone for simple projects.

For who: Any web developer or team working with the SMI LESS ecosystem. This package is always the first CSS file loaded in the HTML — every other package in this workspace depends on it.

Install

npm i setmy-info-less
  • https://www.npmjs.com/package/setmy-info-less

Usage

<link rel="stylesheet" href="node_modules/setmy-info-less/dist/main.css" />

Or from CDN:

<link
    rel="stylesheet"
    href="https://cdn.jsdelivr.net/npm/setmy-info-less/dist/main.min.css"
/>
<link
    rel="stylesheet"
    href="https://unpkg.com/setmy-info-less@latest/dist/main.min.css"
/>

What is included

| Group | Classes | | ------------ | ------------------------------------------------------------------------------------------------------------------------------ | | Values | Color palette, font stack, spacing scale, z-index scale (tokens only) | | HTML resets | html, body, h1–h6, p, ul, li, hr, small | | Visibility | .hidden, .invisible, .visible, .phone-hidden, .pc-hidden | | Spacing | .noPadding, .noMargin, .defaultPadding, .doublePadding etc. | | Sizing | .maxWidth, .halfWidth, .quarterWidth, .threeQuartersWidth, .elementHeight etc. | | Layout | .floatLeft, .floatRight, .floatClear, .noWrap, .tableElement, .centerBox, .centerText, .leftText, .rightText | | Scroll | .autoScrollBars, .verticalScrollBar, .horizontalScrollBar, .noScrollBars etc. | | Text | .asUppercase, .asLowercase, .firstAsUppercase, .textColorGray | | Cursor | .textCursor, .pointerCursor, .cursorVerticalResize, .cursorHorizontalResize | | Panels | .verticalStretchPanel, .horizontalStretchPanel | | Visual style | .normalBackground, .defaultBorder, .defaultShadow, .defaultRadius, .minifiedText | | Notes | .importantNote, .timeLabel, .detailed | | Flex | .smi-flex-panel + -row/-column/-left/-center/-right modifiers | | Components | structural anchors only: canvas#background, #application | | Devices | @media blocks for phone, pad, watch, print |

Higher-level content components — page sections, modal/overlay, cards, and article typography — live in setmy-info-less-extended, not here. The base module stays minimal (resets, tokens, single-purpose utilities).

Responsive breakpoints

The base module uses a single small-vs-wide width boundary at 1024px, plus a print block. Breakpoints are plain @media only screen queries (no JS), defined in src/main/less/devices/.

| Range | File | What happens | | -------------- | ------------ | -------------------------------------------------------------------------------------------------- | | ≤ 639px | watch.less | .phone-hidden → display:none; #header-panel height auto; main height reduced by one header | | 640px – 1023px | phone.less | same rules as watch.less | | ≥ 1024px | pad.less | .pc-hidden → display:none !important | | print media | print.less | print-only overrides (placeholder) |

Base (default, no-media-query) styles apply at every width; the rules above are added on top within their range.

Visibility utilities

Two classes toggle visibility by breakpoint. They are exact inverses around the 1024px line and never overlap:

| Class | Hidden when | Visible when | Use for | | --------------- | ------------------ | -------------- | ----------------------------------------------------- | | .phone-hidden | width < 1024px | width ≥ 1024px | content that should drop on small screens | | .pc-hidden | width ≥ 1024px | width < 1024px | small-screen-only content (e.g. a mobile menu button) |

Note: .phone-hidden hides across both the watch and phone ranges — i.e. everything below 1024px, not only on phones. The name refers to "small screens", not literally phones.

<!-- Visible on wide screens, hidden below 1024px -->
<nav class="phone-hidden">…full navigation…</nav>

<!-- Visible below 1024px, hidden on wide screens -->
<button class="pc-hidden">☰ Menu</button>

Development

npm run build
npm run lint
npm run test
npm run verify

E2E tests require a running Selenium Grid. Start it before calling npm run e2e:

smi-selenium-hub
smi-selenium-node
npm run e2e-test