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

@treasuryspatial/ui-next

v0.1.0

Published

Treasury unified UI component library for Registry and Discovery projects

Readme

Treasury UI Unification Project

This repository contains comprehensive documentation and specifications for unifying the UI across all Treasury applications.

Project Overview

Treasury currently has multiple applications with different UI implementations:

  • Index-New: Next.js application with React and Tailwind CSS
  • Index-Old-Frontend: Express/Pug application with Bootstrap
  • Discovery: Next.js application with custom styling
  • Registry: Rails application with its own styling

This project aims to analyze all UI elements across these applications and establish a unified design system that can be implemented consistently across the entire portfolio.

Repository Structure

/UI/
├── README.md                     # This file
├── UI_UNIFICATION_PLAN.md        # Detailed project plan
│
├── documentation/                # Analysis documentation
│   ├── page-analysis/            # Page-by-page detailed analysis
│   │   ├── index-new/            # Index-New pages analysis
│   │   ├── index-old/            # Index-Old pages analysis
│   │   ├── discovery/            # Discovery pages analysis
│   │   └── registry/             # Registry pages analysis
│   │
│   └── summaries/                # Cross-application analysis
│       ├── index-comparison.md   # Comparison of Index implementations
│       ├── type-system.md        # Typography analysis
│       ├── color-system.md       # Color usage analysis
│       ├── layout-system.md      # Layout patterns analysis
│       └── component-inventory.md # Component comparison
│
├── unified-system/               # Unified design system specifications
│   ├── typography.md             # Typography system 
│   ├── colors.md                 # Color system
│   ├── spacing-layout.md         # Spacing and layout system
│   └── components/               # Component specifications
│       ├── navbar.md             # Navbar component
│       ├── button.md             # Button component
│       ├── card.md               # Card component
│       └── ...                   # Additional components
│
└── test-pages/                   # Example implementations
    ├── index.html                # HTML/CSS implementation
    ├── react/                    # React implementation
    ├── bootstrap/                # Bootstrap implementation
    └── ...                       # Additional framework implementations

Current Progress

  • ✅ Initial plan created
  • ✅ Index-New frontend analysis
  • ✅ Index-Old frontend analysis
  • ✅ Comparison of Index implementations
  • ✅ Unified Typography System
  • ✅ Unified Color System
  • ✅ Unified Spacing & Layout System
  • ✅ Navbar Component Specification
  • ⬜ Discovery frontend analysis
  • ⬜ Registry frontend analysis
  • ⬜ Component Inventory
  • ⬜ Additional Component Specifications
  • ⬜ Test Page Implementations

Key Design Decisions

  1. Typography: Standardizing on Aeonik as the primary font family
  2. Colors: Using a consistent color palette with Treasury green as primary
  3. Layout: Implementing a standard spacing scale and container system
  4. Components: Creating reusable components with consistent styling across frameworks

Implementation Approach

  1. CSS Variables: Core design tokens implemented as CSS variables
  2. Framework-Specific: Component implementations for React, Bootstrap, and Rails
  3. Progressive Enhancement: Gradually enhancing existing applications
  4. Documentation-First: Thorough documentation of all design decisions

Getting Started

  1. Review the UI_UNIFICATION_PLAN.md file to understand the overall approach
  2. Explore the existing documentation in documentation/ to see the current state
  3. Check the unified system specifications in unified-system/ for implementation guidance

Next Steps

  1. Complete analysis of Discovery and Registry applications
  2. Develop more component specifications
  3. Create test page implementations
  4. Document implementation guidelines for each framework
  5. Establish a migration plan for each application

Resources

Contributing

  • Follow the structure in existing documentation
  • Update this README with any new components or sections
  • Use consistent formatting in all markdown files
  • Link related documents where appropriate

Contact

For questions or suggestions regarding the UI unification project, please contact the project maintainers.