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

@gdblack/ui

v1.1.0

Published

gdb-component-library is a small, custom React + TypeScript component library built with Vite. The components in this repo are intended to be consumed by other projects (for example, a demo application) via npm or local installation during development.

Readme

gdb-component-library

gdb-component-library is a small, custom React + TypeScript component library built with Vite. The components in this repo are intended to be consumed by other projects (for example, a demo application) via npm or local installation during development.

Package info

  • Package name: gdb-component-library (see package.json)
  • Version: 0.0.0 (update before publishing)
  • Note: package.json currently sets "private": true. Set this to false and bump the version to publish to the npm registry.

What this repo contains

  • Reusable React components under src/ (for example src/components/Button).
  • An entry point src/index.ts which exports components and types.
  • Build scripts in package.json that output distributable files to dist/.

Install (use in a demo project)

Local (recommended for development):

# from your demo project's directory
npm install ../path/to/gdb-component-library
# or with yarn
yarn add ../path/to/gdb-component-library

Install from npm (after publishing):

npm install gdb-component-library

Install from a Git URL:

npm install git+ssh://[email protected]/<owner>/gdb-component-library.git

Build

Run the build script defined in package.json (TypeScript build + Vite build):

npm run build

The output will be placed in dist/, which is what gets published or installed by consumers.

Usage example (in a demo app)

After installing, import components like this:

import React from 'react'
import { Button } from 'gdb-component-library'

export default function App() {
  return <Button variant="primary">Click me</Button>
}

TypeScript consumers can also import types:

import type { ButtonProps } from 'gdb-component-library'

Notes

  • Peer dependencies: react, react-dom — the consuming project must provide compatible versions.
  • Entry points: main, module, and types in package.json point to built files under dist/.

Next steps

  • Remove private: true in package.json and set a release version before publishing.
  • Add an examples/demo app to the repository to simplify local development and QA.
  • Add CI to build and optionally publish releases.

If you want, I can add a small demo app under examples/demo and wire it into the repo for local testing.