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

@moser-inc/unocss-preset-moser-labs

v6.4.2

Published

Shared UnoCSS preset for the Moser Labs suite of applications.

Readme

UnoCSS Preset Moser Labs

Shared UnoCSS preset for the Moser Labs suite of applications.

Install

npm i -D @moser-inc/unocss-preset-moser-labs

Initialize

// uno.config.ts

import { defineConfig } from 'unocss';
import { presetMoserLabs } from '@moser-inc/unocss-preset-moser-labs';

export default defineConfig({
  presets: [presetMoserLabs()], // No default
  presets: [presetMoserLabs({ defaultApp: 'wellness', preflight: true })], // With default and preflight

  // Optionally include processing internal Prime components for utility
  // classes and icons
  content: {
    pipeline: {
      include: [
        /(.*\/)primereact(.*)\.(c|m)?(js)(x?)$/, // PrimeReact Components
        /\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/, // Default
      ],
    },
  },
});

Options

presetMoserLabs({
  /**
    * Theme mode to use. Changes CSS variable names to match the specified Prime version.
    *
    * Will attempt to auto-detect the Prime version and set the appropriate mode automatically.
    *
    * @default "primeuix"
    */
  mode?: PresetPrimeOptions['mode'];
  /**
   * Set the default theme when the application name is not included in the class (e.g. `bg-primary-gradient`).
   */
  defaultApp?: MoserLabsAppThemeKey;
  /**
   * Whether to include Prime themes as a preflight. Requires `defaultApp` to be set.
   *
   * @default false
   */
  preflight?: boolean;
  /**
   * Extend `presetWind4` options.
   *
   * https://unocss.dev/presets/wind4
   */
  extendWind4Options?: PresetWind4Options;
  /**
   * Extend `presetPrime` options.
   *
   * https://github.com/danielwaltz/unocss-preset-prime
   */
  extendPrimeOptions?: PresetPrimeOptions;
  /**
   * Extend `presetIcons` options.
   *
   * https://unocss.dev/presets/icons
   */
  extendIconsOptions?: PresetIconsOptions;
  /**
   * Extend `presetTypography` options.
   *
   * https://unocss.dev/presets/typography
   */
  extendTypographyOptions?: PresetTypographyOptions;
  /**
   * Extend `presetWebFonts` options.
   *
   * https://unocss.dev/presets/web-fonts
   */
  extendWebFontsOptions?: PresetWebFontsOptions;
});

Semantic Colors

This preset exports helpful types and the generated theme colors directly for extending the theme to support application specific semantic colors.

// uno.config.ts

import { defineConfig } from 'unocss';
import {
  presetMoserLabs,
  type Theme,
} from '@moser-inc/unocss-preset-moser-labs';
import { primeUixColors } from '@moser-inc/unocss-preset-moser-labs/themes';

export default defineConfig({
  presets: [presetMoserLabs()],
  theme: {
    colors: {
      success: {
        dark: primeUixColors.green[900],
        light: primeUixColors.green[100],
      },
      warning: {
        dark: primeUixColors.orange[900],
        light: primeUixColors.orange[100],
      },
      error: {
        dark: primeUixColors.red[900],
        light: primeUixColors.red[100],
      },
    },
  } satisfies Theme,
  shortcuts: {
    'bg-success': 'bg-success-dark light:bg-success-light',
    'bg-warning': 'bg-warning-dark light:bg-warning-light',
    'bg-error': 'bg-error-dark light:bg-error-light',
  },
});