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

tiratana

v1.1.5

Published

Tiratana is a CLI tool that generates a codebase report.

Readme

Tiratana 💎

Tiratana is a powerful and simple commandline tool (CLI) that generates useful codebase reports in a single command! Designed to save time and effort, Tiratana helps you uncover architectural insights, design patterns, potential vulnerabilities, and more, all in a minimal and elegant way.


Why Tiratana?

Manually analyzing a codebase is often time-consuming and requires a high level of engineering proficiency. Tiratana streamlines this process by leveraging the power of modern programming and AI advancements to:

  • Provide a quick overview of the codebase.
  • Highlight architectural and design patterns.
  • Detect potential vulnerabilities.
  • Save time for developers, consultants, and teams.
  • Whether you’re reviewing your codebase or analyzing one for a client, Tiratana offers actionable insights in a compact, easy-to-understand markdown report.

Installation

Install Tiratana using npm:

npm install tiratana -g

Custom Environment Variables

If you want to use custom environment variables, you can create a file with the name env in the root directory of your project. The file should contain OPENAI_API_KEY=<your_api_key>.

tiratana -d ./my-codebase --env ./path/to/env/file.env

Usage

Run Tiratana on a codebase:

tiratana -d ./my-project -o report.md -v

Options

  • --directory, -d: The directory to process (required).
  • --outputFile, -o: Specify a file to save the generated report (optional).
  • --verbose, -v: Print verbose logs (default: false).
  • --performanceStats, -p: Display performance statistics (optional).
  • --writePreliminaryAnalysis, -z: Save preliminary analysis to a file (optional).
  • --standardize, -s: Generate a standardized report (optional).
  • --standardizationFile, -f: Use a file for report standardization (optional).
  • --env, -e: Specify an environment file to load (optional).
  • --version: Show the current version of Tiratana.
  • --help: Show help.

Examples

Generate a basic report (output file is autogenerated):

tiratana -d ./my-codebase

Generate a report and save it to a named file:

tiratana -d ./my-codebase -o report.md

Enable verbose logging:

tiratana -d ./my-codebase -v

Generate performance statistics:

tiratana -d ./my-codebase -p

Using custom environment variables:

tiratana -d ./my-codebase --env ./path/to/env/file.env

For Contributors

We welcome contributions! Follow these steps to get started:

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/yourusername/tiratana.git
    cd tiratana
  2. Install dependencies:

    npm install
  3. Build the package:

    npm run build
  4. Start the application:

    npm run start
  5. Run tests:

    npm run test

Contribution Guidelines

  • Fork the repository and create a new branch for your feature or fix.
  • Make your changes and ensure they pass all tests.
  • Submit a pull request with a clear description of your changes.

License

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


Start generating smarter codebase reports with Tiratana today! 🎉

"I don't configure what I can't figure" 🦹🏼 — Aditya Patange (AdiPat)