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

v2.0.0

Published

SMI LESS project

Readme

setmy-info-less

A modular, testable, and structured LESS-based styling framework for web projects. This project provides a clean system for managing styles with LESS, generating HTML using Pug, and ensuring quality with both unit and end-to-end tests. As the SMI standard browser is Firefox, values can be taken directly from Firefox DevTools and unified across all browsers.

📦 Project

This project includes:

  • LESS – for modular and extendable CSS
  • Pug – for HTML generation
  • Playwright – for end-to-end (E2E) testing
  • Jest – for unit testing JavaScript
  • Express – for local development server
  • npm scripts – for build and test automation

main.less is the entry point, which includes other files in the correct order.

Principles

UI is grouped based on breakpoints:

  • Default – Desktop / wide UI (full visibility, no collapsing)
  • Phone – Small screen (pocket) devices
  • Pad – Medium-width UIs (tablet-like), may hide or shrink some elements
  • Watch – Minimal UI for small displays
  • Print – Styles for printable documents

Utility CSS classes are provided to toggle CSS rules per element.

Development

🔧 Setup

npm install
# Or use 'ci' cub-command, to install by lock file. 
npm ci
npx playwright install

LESS to CSS transpiling

npm run css
npm run css-min

Pug to HTML transpiling

npm run html

Full build

npm run build

🧪 Test execution

Currently, no useful unit tests, just working placeholder.

Unit test execution

npm test

E2E test execution

npm run e2e

Specific E2E test execution

npm run e2e:one -- src/test/js/e2e/application.e2e.js

Check LESS style

npm run lint:less

Fix LESS style

npm run lint:fix-less

Combined test execution

npm run verify

🌐 Local Development Server

npm start

🔄 Watch for changes

npm run watch

📦 Packaging

npm pack
npm pack --dry-run

🧹 Cleaning

Dist folder removal

npm run clean

Clean project removal

npm run clean:all

🏗 Full build for CI and build checkup

npm run clean:all && npm ci && npm run build && npm run verify && npm pack && npm pack --dry-run

📤 Publishing

npm login
npm publish

Load order

@import "values.less";
...
@import "colors/index.less";
@import "fonts/index.less";
...
@import "html/index.less";
@import "html.less";
@import "html-extended.less";
@import "utility/index.less";
@import "visibility.less";
@import "spacing.less";
@import "spacing2.less";
@import "sizing.less";
@import "spacing3.less";
@import "layout.less";
@import "scroll.less";
@import "text.less";
@import "cursor.less";
@import "layout2.less";
@import "text2.less";
@import "sizing3.less";
@import "panels.less";
@import "sizing2.less";
@import "visual-style.less";
@import "layout3.less";
@import "notes.less";
@import "visual-style2.less";
@import "devices/index.less";
@import "print.less";
@import "watch.less";
@import "phone.less";
@import "pad.less";
@import "components/application.less";

Changed

Some class names were updated after v1.0.0. If you're upgrading, search and replace as needed:

  • verticalStrechPanel -> verticalStretchPanel
  • horisontalStrechPanel -> horizontalStretchPanel

(+ other possible minor updates)

Project was created

Project creation steps and commands:

npm init --yes
npm i less --save-dev
npm i less-plugin-clean-css --save-dev
npm i less-watch-compiler --save-dev
npm i express --save-dev
npm i jest --save-dev
npm i playwright --save-dev
npm i @playwright/test@latest --save-dev
npm i pug --save-dev
npm i rimraf --save-dev
npm i @cucumber/cucumber --save-dev
npx playwright install

TODO

  • Consider font correctness
@fontFamily: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

#headerPanel - > #header-panel

;
  • Eliminate use of !important — proper load order should help avoid it.