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

@zuckersalzundpfeffer/sugar-ui

v0.1.0

Published

ZSP sugar UI Framework

Downloads

40

Readme

Sugar UI

A component framework designed to be easy to develop, easy to maintain and deliver core features for your project. Themedriven design using Tailwind and custom stuff to rapid-develop websites

Clone Project

git clone https://github.com/ZUCKERSALZUNDPFEFFER/sugar-ui.git --recursive

Setup

yarn install done.

Usage

yarn sugarui:dev // for development
yarn sugarui:build // for build

VIA NPM IMPORT

proceed as followed

1. add packages via yarn

yarn add -D tailwindcss@latest postcss@latest autoprefixer@latest concurrently@latest @zuckersalzundpfeffer/sugar-ui

2. create tailwind config

more on tailwind std install procedure: (https://tailwindcss.com/docs/installation)

create tailwind.config.js

npx tailwindcss init

this creates ./tailwind.config.js -> paste the following:

/* ./tailwind.config.js */

module.exports = {
  purge: [],
  darkMode: false, // or 'media' or 'class'
  theme: {
    extend: {},
  },
  variants: {
    extend: {},
  },
  plugins: [require("@zuckersalzundpfeffer/sugar-ui")],
  zspSugarUi: {
    theme: {
      colors: {
        primary: "#ffcc33",
        secondary: "#223344",
        accent: "#aabbbb",
        neutral: "#ffcc33",
        info: "",
        warning: "",
        error: "",
        "base-100": "",
        "base-200": "",
        "base-300": "",
        "base-content": "",
      },
      radius: {
        sm: "0.25rem",
        md: "0.5rem",
        lg: "0.75rem",
        xl: "2rem",
      },
      typography: {
        fonts: {
          headline:
            "ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",
          body:
            "ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",
          code:
            "ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",
          display: "'Press Start 2P',cursive",
        },
        fontSizes: {
          base: "16px",
          h1: "4rem",
          h2: "2rem",
          h3: "1.85rem",
          h4: "1.5rem",
          h5: "1.25rem",
          h6: "1.15rem",
        },
        lineHeights: {
          tight: 0.85,
          normal: 1,
          loose: 1.5,
          wide: 2,
          extrawide: 2,
        },
      },
    },
  },
};

Create Std Tailwind.css file

create the pre render css file in separeted folder:

touch .src/prerender/tailwind.css

paste the following

/* ./src/prerender/tailwind.css */

@tailwind base;
@tailwind components;
@tailwind utilities;

3 Add Setup to package.json

add script to package.json Note: the input css file ".src/prerender/tailwind.css

/* package.json -> copy only the 3 bottom scripts objects */

"scripts": {
  "serve": "vue-cli-service serve",
  "build": "vue-cli-service build",
  "lint": "vue-cli-service lint",
  "style:generate": "npx tailwindcss -i ./src/prerender/tailwind.css -o ./src/assets/css/tailwind.css --watch",
  "style:watch": "yarn style:generate --watch",
  "dev": "concurrently --raw \"yarn serve\" \"yarn style:watch\""
},

4 Import Tailwind

Add the speciied output file to your main.js or whereelse you want to load it

/* .src/main.js */
import "./assets/css/tailwind.css";

Start developing

run with

yarn dev

5 Adding the submodule

In a fresh Project do:

git submodule update --init

Building components

create css file inside src/components/YourFilename.css use sui classes with @apply rule like so: @apply sui-padding-left-xs; include file inside src/components/index.js

dont forget to yarn sugarui:build before checking if it works