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

prizeout-ui

v1.0.24

Published

Shared PO component library

Readme

Prizeout UI

A shared component library for Prizeout, designed to provide reusable UI elements across Prizeout projects.

Table of Contents

Installation

To set up the Prizeout UI component library, ensure that you're using the correct version of Node.js. You can easily switch to the required version using nvm. Once you're on the right version, install the necessary dependencies and prepare the project.

Steps:

  1. Switch to the required Node.js version:

    nvm use
  2. Install the project's dependencies:

    npm install
  3. Prepare the project (this configures Git hooks and ensures Husky is set up):

    npm run prepare

After these steps, you should be ready to start developing or using the library.

Usage

To use components from the Prizeout UI library in your project, first install it as a dependency in your project. For example:

npm install prizeout-ui

Then, you can import and use the components in your application:

import { Button, Modal } from 'prizeout-ui';

const MyComponent = () => (
  <div>
    <Button label="Click me" />
    <Modal isOpen={true} title="Welcome" />
  </div>
);

Development

To contribute or modify the component library locally:

  1. Clone the repository:

    git clone https://github.com/your-username/prizeout-ui.git
    cd prizeout-ui
  2. Install the dependencies:

    npm install
  3. Start the development environment:

    npm run storybook

This will launch a local development server where you can view and test components.

Running Tests

To run unit tests for the components:

npm test

This ensures the integrity and functionality of the components.

Contributing

Contributions to the Prizeout UI library are by all team members! Please follow these steps to contribute:

  1. Fork the repository and create your branch:

    git checkout -b WV2-XXXX-your-feature-name
  2. Make your changes and commit with a descriptive message:

    git commit -m "WV2-XXXX: Add new feature XYZ"
  3. Push to your branch and create a pull request:

    git push origin WV2-XXXX-your-feature-name

Pre-commit Hooks

Husky is used to ensure code quality and consistency through pre-commit hooks. These hooks run automatically before you commit your code to ensure it meets project standards (e.g., linting, tests, etc.).

To configure Husky properly, make sure to run the following command when setting up the project:

npm run prepare

This will set up the Git hooks for you. If you encounter any issues, verify that Husky is configured correctly by checking the .husky directory.