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

brainyy

v1.1.0

Published

**Brainy UI** is a smart, functional React component library designed to handle common frontend use cases — with built-in logic, helpful UX, and sleek styling using Tailwind CSS.

Readme

🧠 Brainyy UI

Brainyy UI is a smart, functional React component library designed to handle common frontend use cases — with built-in logic, helpful UX, and sleek styling using Tailwind CSS.

💡 "Focus on building your app. Let Brainyy handle the UI logic."


🚀 Features

  • ⚡ Built-in functionality (no need to re-implement common logic)
  • 🎨 Beautifully styled using Tailwind CSS
  • 🧩 Composable and extendable components
  • 🎛️ CLI to add components to your project
  • 🤝 Compatible with ShadCN components
  • 🛡️ Smart validations and UX patterns

📦 Installation

npm install brainy

You also need to have @radix-ui components, react, and tailwindcss installed.


🧰 Usage via CLI

Brainyy includes a CLI tool to easily add components to your project.

Step 1: Add CLI globally or use npx

npx brainy add password-analyzer

This will:

  • Add the component to src/components folder
  • Give you usage instructions

⚠️ Note

For components like password-analyzer, you must have these components from shadcn/ui:

  • Input
  • Label
  • Popover

Make sure to install those first!


🔐 Password Analyzer Component

Analyze password strength and provide user feedback using zxcvbn.

Import

import PasswordAnalyzer from "@/components/PasswordAnalyzer";

Example Usage

<PasswordAnalyzer
  value={password}
  onChange={(val, score, suggestions) => {
    setPassword(val);
    setStrength(score);
    // suggestions array provided too
  }}
  placeholder="••••••••"
  // Optional toggles
  showCrackInfo
  showEntropy
  showPatterns
  showScoreLabel
  showProgress
/>

Props

| Prop | Type | Description | | ---------------- | ------------------------------------------------------------- | --------------------------------------- | | value | string | Password string | | onChange | (val: string, score: number, suggestions: string[]) => void | Callback with live score/suggestions | | placeholder | string? | Placeholder text | | showCrackInfo | boolean | Show estimated crack time & guesses | | showEntropy | boolean | Show entropy info | | showPatterns | boolean | Show detected patterns | | showScoreLabel | boolean | Show strength label (e.g., "Very Weak") | | showProgress | boolean | Show strength progress bar |

✅ Suggestions are always shown as they are core to user feedback.


📁 Folder Structure

brainyy/
├── bin/                   # CLI Entry
├── snippets/              # Component sources
│   └── password-analyzer/
├── src/
│   └── components/        # Target output folder
├── example/               # Usage example (can delete node_modules here)
├── package.json
└── README.md

🔄 Contributing

Want to add your own component?

  • Fork the repo
  • Add your component under snippets/
  • Update CLI script to support it
  • Submit a PR

📣 License

MIT © 2025 [Spec.AI]


💬 Questions or Feedback?

Drop issues or ideas in the GitHub repo — we’d love to hear from you!

Happy Building with Brainyy 🧠