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

@giftmk/nest_cli

v1.0.9

Published

CLI tool to display codebase in a structured format

Readme

🚀 NestCLI - The Ultimate Codebase Explorer

NestCLI Logo

NestCLI is a powerful and intuitive command-line tool that streamlines code exploration and navigation. With features like syntax highlighting, interactive search, tree visualization, and keyboard navigation, it significantly enhances your workflow, making it effortless to navigate complex projects.


Features

  • 📂 Directory Tree Visualization – Navigate projects with an intuitive tree view
  • 🔍 Advanced File Search – Search file content using regex support
  • 🎨 Syntax Highlighting – Enhanced readability for various programming languages
  • ⌨️ Interactive Keyboard Navigation – Seamlessly browse files
  • 📄 Pagination for Large Files – View content efficiently
  • ⚙️ Customizable Configuration – Save preferred settings for future use
  • 🎯 File Filtering – Search by extension or name
  • 🔢 Line Numbering – Improve readability and referencing

🛠️ Installation

You can install NestCLI globally using either npm or Yarn.

Using npm:

npm install -g @giftmk/nest_cli

Using Yarn:

yarn global add @giftmk/nest_cli

🎮 Usage

Run the following command to explore a directory:

nest_cli [options] [directory]

🔧 Options

| Flag | Description | Default | |------------------------------|--------------------------------------------------|----------------| | -d, --depth <level> | Limit directory tree depth | Infinite | | -e, --extensions <ext> | Filter files by extensions (comma-separated) | All | | -l, --line-numbers | Show line numbers in file content | false | | -s, --size | Display file sizes in tree view | false | | --hidden | Include hidden files and directories | false | | -t, --tree-only | Show only the directory structure | false | | -f, --file-only | Show only file contents (hide tree) | false | | -L, --line-limit <num> | Set number of lines to display per page | 200 | | -S, --search <term> | Search for files by name (case-insensitive) | none | | -r, --regex | Enable regex-based search | false | | --syntax-highlight | Enable syntax highlighting | false | | -k, --keyboard-nav | Enable interactive navigation | false | | --save-config | Save current options as default | - | | --reset-config | Reset to default configuration | - |


📝 Examples

📂 Display Directory Structure

nest_cli -t

Output:

📁 Project Tree:
├── src/
│   ├── core/
│   │   ├── FileNavigator.js
│   │   └── ConfigManager.js
│   └── plugins/
│       ├── TreePlugin.js
│       └── SearchPlugin.js
├── package.json
└── README.md

🔍 Search for Files with Syntax Highlighting

nest_cli . -S "plugin" --syntax-highlight

Output:

📄 Found in src/plugins/TreePlugin.js:
export class TreePlugin extends BasePlugin {
    // Syntax-highlighted code...
}

⌨️ Enable Interactive Navigation

nest_cli . -k

Navigation Controls:

  • n – Next file
  • p – Previous file
  • m – Mark/unmark file
  • q – Quit

⚙️ Configuration

Save Custom Settings

nest_cli --depth 3 --line-numbers --syntax-highlight --save-config

🔄 Reset to Defaults

nest_cli --reset-config

🤝 Contributing

We welcome contributions! Follow these steps to get started:

  1. 🍴 Fork the repository
  2. 🌱 Create a feature branch (git checkout -b feature/AmazingFeature)
  3. 💾 Commit your changes (git commit -m 'Add AmazingFeature')
  4. 📤 Push to the branch (git push origin feature/AmazingFeature)
  5. 🎯 Open a Pull Request

Useful Links:


📜 License

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


📞 Need Help?

If you have any questions or need support:

  1. 📚 Check the documentation
  2. 🔎 Search existing issues
  3. 💬 Open a new issue

🚀 Built with passion by Gift Mkyelu (a.k.a The Code Maestro) 💻🔥