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

@vueland/utils-jit

v0.2.6

Published

Vite JIT utility engine for Vueland

Readme


@vueland/utils-jit is the JIT utility layer of the Vueland platform. It generates CSS utility classes on demand from your actual source usage — no predefined bundle, no purge step, no configuration overhead.

When used alongside @vueland/ui, a single breakpoints config in vite.config.ts automatically syncs JIT classes, predefined SCSS utilities, grid components, and the useDisplay composable. One source of truth for the entire visual layer.

Documentation

https://vueland.github.io/vueland/en/plugins/utils-jit/getting-started

Installation

# pnpm
pnpm add -D @vueland/utils-jit

# npm
npm install -D @vueland/utils-jit

# yarn
yarn add -D @vueland/utils-jit

Usage

Add the plugin to your Vite config:

import { defineConfig } from 'vite'
import { utilsJIT } from '@vueland/utils-jit'

export default defineConfig({
  plugins: [
    utilsJIT(),
  ],
})

Then use arbitrary utility classes in your templates:

<template>
  <button class="w-[160px] px-[20px] py-[12px] radius-[8px] bg-[#42b883] color-[#fff]">
    Button
  </button>
</template>

The plugin scans your source files and generates only the CSS that is actually used.

Breakpoints

Pass breakpoints once — everything syncs automatically:

utilsJIT({
  breakpoints: {
    xs: 0,
    sm: 600,
    md: 960,
    lg: 1280,
    xl: 1920,
    xxl: 2560,
  },
})

This single config does four things:

  1. JIT classes — responsive variants like sm:bg-[#fff] or lg:w-[960px] use these breakpoints.
  2. SCSS utilities — predefined classes like sm:d-flex, md:pa-4 from @vueland/ui are compiled with the same values.
  3. Grid componentsCRow and CCol responsive props use the same breakpoints.
  4. useDisplay — the reactive composable picks up the values automatically at build time.

Paired with @vueland/ui

// vite.config.ts — one config, everything synced
utilsJIT({
  breakpoints: { xs: 0, sm: 600, md: 960, lg: 1280, xl: 1920, xxl: 2560 },
})
// main.ts — no need to repeat breakpoints
import { createVuelandUI } from '@vueland/ui'

const vueland = createVuelandUI({ components })

If you need to override breakpoints for useDisplay specifically, pass them explicitly — explicit values always win.

Variants

<button class="w-[160px] hover:w-[180px] focus:px-[24px]">
  Button
</button>

Responsive utilities

<div class="w-[100%] md:w-[720px] lg:w-[960px]"></div>

Part of the Vueland platform

@vueland/utils-jit is the utility layer of the Vueland platform. The platform also includes:

  • @vueland/ui — UI components, grid system, composables, preset engine
  • More plugins and adapters coming over time

See the platform overview for the full picture.

⭐ Support the project

If this package is useful to you, a star on GitHub goes a long way.

Star on GitHub →

License

MIT