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

cli-suite

v1.0.2

Published

A modular, extensible TypeScript library for building interactive CLI applications featuring advanced command and argument parsing, input prompts, validation, text styling, data formatting, and animated console visuals

Downloads

311

Readme

cli-suite

cli-suite logo

npm version Bundle Size Issues Downloads License

A modular, extensible TypeScript library for building interactive CLI applications featuring advanced command and argument parsing, input prompts, validation, text styling, data formatting, and animated console visuals.

Table of Contents


Features

  • Commands

    • Define and register commands with names and descriptions
    • Nested subcommands for complex CLI structures
    • Combine commands with options and arguments
  • Command-line Argument Parsing

    • Supports short (-f) and long (--flag) options
    • Handles combined short flags (-abc)
    • Supports default values and validation
    • Callback execution on parsed arguments
    • Parsing and validation error reporting
  • User Input Prompts

    • Static prompts with validation and default values
    • Confirmation prompts (yes/no)
    • Interactive single and multiple selection menus with keyboard navigation
    • Customizable styling and colors for prompts
  • Validation

    • Built-in validators for common use cases
    • Support for synchronous and asynchronous validation
    • Integration with user input prompts and argument parsing
    • Validation error reporting with user-friendly messages and retry options
  • Text Styling and Coloring

    • ANSI escape code based text styling
    • Supports basic 16 colors, 256-color mode, and 24-bit RGB true color
    • Multiple text styles (bold, italic, underline, etc.)
    • Automatic detection of terminal color support
  • Console Animations

    • Spinner animation with optional progress and description
    • Progress bar with configurable length and styling
    • Easy integration with async tasks reporting progress
  • Data Formatting

    • Table: Display tabular data in the CLI with configurable columns, alignment, padding, and optional borders. Supports Unicode and dynamic column widths.
    • List: Render ordered or unordered lists with configurable bullet characters, indentation, and optional styling for bullets/numbers and list items.

Future Planning

  • Integration of ANSI styling across all classes/modules
  • Support for global and per-component theming to maintain consistent appearance
  • Support for plugin architecture to extend the library

Installation

npm install cli-suite

API Reference

For detailed API documentation and usage examples, please see the API_REFERENCE.md.


Contributing

Contributions are welcome! See the CONTRIBUTING.md file for details.


License

This project is licensed under the MIT License. See the LICENSE file for details.