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 🙏

© 2024 – Pkg Stats / Ryan Hefner

npui

v2.0.2

Published

npui - open component library

Downloads

160

Readme

🧩 npui cli

npui is a command-line interface (CLI) tool designed for easy integration of reusable UI components into your projects. Built with simplicity and flexibility in mind, npui allows developers to quickly add, update, remove, and list components from the NextProduction repository directly in their own projects.

Features

  • Download Components: Fetch UI components directly from the GitHub repository.
  • Update Components: Keep your components up to date with the latest changes.
  • Remove Components: Easily delete components from your project.
  • List Components: View all downloaded components at a glance.
  • Version Info: Check the current version of npui.
  • Help Command: Get usage instructions directly from the CLI.

Installation

You can install npui globally or use it directly with npx without installation.

Using npx

To use npui directly, run the following command:

npx npui <command> <ComponentName>

Installing Globally

If you prefer to install npui globally, you can run:

npm install -g npui

Usage

Here's a breakdown of available commands:

add <ComponentName>

Download a specified component to your project.

npx npui add Table

update <ComponentName>

Update an existing component to the latest version.

npx npui update Table

remove <ComponentName>

Remove a specified component from your project.

npx npui remove Table

list

List all components downloaded to your project.

npx npui list

version

Display the current version of npui.

npx npui version

help

Show usage instructions for npui.

npx npui help

Example

Here's a complete example of how to use npui:

  1. Add a component:

    npx npui add Button
  2. List downloaded components:

    npx npui list
  3. Update a component:

    npx npui update Button
  4. Remove a component:

    npx npui remove Button

Contribution

Contributions are welcome! If you have suggestions for improvements or want to report bugs, feel free to create an issue or submit a pull request on the GitHub repository.

Acknowledgments

  • Thanks to Node.js for providing a powerful platform for building command-line applications.
  • Inspired by the open-source community for fostering collaboration and innovation.