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

cte-ui

v0.1.0

Published

C2E UI kit — DaisyUI + Tailwind v4 theme system, base styles and ng-select theming for Angular.

Readme

@c2e/ui

C2E UI kit — a theme system, base styles and @ng-select theming for Angular apps built on DaisyUI v5 + Tailwind v4.

Contents

  • ThemeService — signal-based theme manager. Applies data-theme + theme classes to <html>, persists the choice to localStorage, and falls back to the OS prefers-color-scheme. Ships with 28 DaisyUI themes and per-theme brand colors.
  • Theme / ThemeConfig / ThemeCategory — type-safe theme identifiers and metadata (name, description, icon, swatch color).
  • styles/ui.css — one-entry global stylesheet:
    • DaisyUI plugin registration (28 themes, light default)
    • brand @theme color overrides
    • base element styles (typography, native form controls)
    • dark-mode-aware @ng-select overrides
    • .card, table, scrollbar, focus-visible and reduced-motion rules
  • Markdown docs shipped inside the package (/docs).

Requirements

| Dependency | Version | | ---------- | ------------ | | Angular | >= 16 | | Tailwind | v4 | | DaisyUI | v5 | | @ng-select | * (optional) |

Install

npm install @c2e/ui daisyui tailwindcss
# optional, only if you use ng-select
npm install @ng-select/ng-select

Quick start

1. Global styles

Your e.g. src/styles.css:

@import "tailwindcss";
@import "@ng-select/ng-select/themes/default.theme.css"; /* optional */
@import "@c2e/ui/styles/ui.css";

2. ThemeService

import {ThemeService} from '@c2e/ui';
import {inject} from '@angular/core';

// Change theme
const themeService = inject(ThemeService);
themeService.setTheme('dark');       // or 'dracula', 'cupcake', …
themeService.toggleTheme();          // dark <-> light
themeService.cycleTheme('fun');      // rotate within a category

// Reactive state
const theme = themeService.currentTheme();        // signal<Theme>
const dark  = themeService.isDarkMode();          // computed<boolean>
const name  = themeService.currentThemeName();    // computed<string>

// Discover themes
const themes = themeService.getAvailableThemes(); // ThemeConfig[]

Docs

Publishing

ng build c2e-ui
npm publish dist/c2e-ui