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

molique-jit

v0.2.3

Published

JIT CSS engine + component scaffolding CLI for the molique framework - scans your project and generates only the CSS you actually use, plus `make:*` generators for ready-to-use component markup.

Readme

molique-jit

A JIT CSS engine and component scaffolding CLI for the molique framework. Two independent halves in one tool:

  1. JIT engine (build/watch/init) - scans your project and emits only the CSS you actually use, via a pure lookup-table architecture: a build-time dictionary is generated once from real, compiled Sass output, so the engine never re-implements molique's own SCSS math and can't drift from it.
  2. Scaffolding (make:*) - interactive generators that produce ready-to-use component markup (grounded 1:1 against molique's real source and docs examples), so you don't hand-copy snippets from molique.dev.

Install

npm install --save-dev molique-jit

npx molique-jit --version (or -V) prints the installed version.

JIT engine

npx molique-jit init     # creates molique.config.mjs
npx molique-jit build    # scans + writes the output CSS
npx molique-jit watch    # rebuilds on file change

molique.config.mjs:

export default {
  content: ['**/*.html', '**/*.php'],   // files to scan
  output: 'css/molique-jit.css',        // where to write the result
  safelist: [],                         // your own dynamically-built classes (e.g. `badge-<?= $status ?>`)
  minify: true,
  // targets: [{ content: [...], output: '...' }],  // multiple independent outputs from one config
};

molique's own runtime classes (toasts, carousel, lightbox, .is-* states, …) are always kept automatically - you only need safelist for classes your own backend concatenates.

Scaffolding (make:*)

| Command | Generates | | --- | --- | | make:modal | <dialog> modal - Standard / Confirm / Context variants | | make:layout | Admin Dashboard / Hero (Simple + Cutout) / Bento Grid | | make:nav | Navbar - offcanvas, 3 background variants, optional Mega Menu / Theme Switch / Language Switch | | make:table | B2B table with automatic mobile data-label cards | | make:chart | Radial Bar / Funnel / Pipeline / Stock Bar | | make:form | Floating Labels / Classic fields + optional Searchable Select / Premium Multi Select / Drag & Drop File Upload | | make:popover | .popover-context anchored context menu (CSS Anchor Positioning) | | make:widget | Speed Dial / Before-After Slider / Stepper / Share Bar | | make:badge | Status pill (.badge) | | make:progress | Labeled progress bar (.progress/.progress-bar) | | make:accordion | Native <details>-based FAQ accordion, zero JS | | make:pagination | Classic / Modern pagination bar | | make:tooltip | Pure-CSS tooltip (.tooltip-element) | | make:alert | Static inline alert message (.alert) | | make:dropdown | Classic <details> dropdown / Popover (top-layer) dropdown | | make:tabs | Classic / Segmented-control (pill) tabs, Radio Hack, zero JS | | make:status-dot | Status dot with optional pulsing ping (.status-dot) | | make:counter | Animated counter (.counter) | | make:timeline | Icon / Numbered / Labeled (date-left, Grid) timeline | | make:carousel | Basic / Hero Background-Sync carousel, native scroll-snap | | make:lightbox | Gallery links (data-lightbox/data-gallery) - modal built by JS | | make:card | Classic / Featured Box / Thumb Info (Center + Bottom) / Interactive card | | make:data-row | Grid CRM data row (.data-row) / Compact list item (.data-row-compact) | | make:pricing-table | Pricing cards (.pricing-table) / Dotted-leader pricing list (.pricing-list) | | make:list-group | Vertical list of clickable items (.list-group) | | make:testimonial | Testimonial card with star rating and author (.testimonial) | | make:toast | Trigger button + MoliqueToast.show() call (JS-driven, no persistent markup) | | make:breadcrumb | Navigation breadcrumb trail (.breadcrumb) | | make:status-icon | Static status icon / zero-JS Plus-Checkmark toggle checkbox | | make:code-preview | "Live preview + copyable code" showcase block (.component-showcase) | | make:component | Lists all of the above |

Every generator that produces a variable-length list (nav items, table rows, chart stages, accordion panels, …) accepts -n, --count <n> to skip the "how many?" prompt - the rest of the flow stays interactive.

npx molique-jit make:modal
npx molique-jit make:table --count 5

Non-interactive mode (--answers / --answers-file)

Every command also accepts a full set of answers up front, skipping ALL prompts at once - useful for scripts and CI, where nobody's at a terminal to answer questions. The JSON shape matches that command's own XxxAnswers TypeScript type (see cli-spec.md in the repo for every command's exact shape).

npx molique-jit make:badge --answers '{"text":"New","color":"success"}'
npx molique-jit make:table --answers-file ./table.json -o components/table.html
  • --answers '<json>' - inline JSON.
  • --answers-file <path> - read the JSON from a file instead.
  • -o, --out <path> - write the result straight to a file (only applies together with --answers/--answers-file; without them, the normal interactive "console or file?" prompt still applies). Omit -o and the generated markup goes straight to stdout - pipe it wherever you like.
  • -n, --count still works as the lighter, single-question shortcut for interactive use - if both are given, --answers/--answers-file wins (it already encodes the count).

Localization (PL/DE)

Every command and flag has a Polish and German alias - molique-jit zrob:modal / molique-jit mache:modal, --minifikuj / --minifizieren, --odpowiedzi/--antworten for --answers, --wyjscie/--ausgabe for --out, and so on. Run npx molique-jit --help (or its own aliases, pomoc/hilfe) for the full, current list.

License

Apache License 2.0. Copyright 2026 Rafał Różacki. Full text in the LICENSE file, attribution notice in NOTICE.