Skip to content

siddhardha123/unpacman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unpacman

unpacman is a simple CLI tool to calculate and display the unpacked sizes of all dependencies in a package.json file. It highlights large package sizes, making it easier for developers to analyze dependency sizes directly from the terminal.

npm License Downloads TypeScript


Features

  • 🎨 Color-coded Output: Large dependencies are displayed in red, and smaller ones in green.
  • 📊 Detailed Size Analysis: Provides the unpacked sizes for all dependencies and a total size summary.
  • Quick and Lightweight: Runs with minimal overhead.
  • 🛠️ Built with TypeScript: Reliable and type-safe.

Installation

Install unpacman globally using npm:

npm install -g unpacman

Or run it directly with npx (no installation required):

npx unpacman

Usage

Navigate to a project directory containing a package.json file and run:

npx unpacman

The output will display:

  • The unpacked size of each dependency.
  • A color-coded indicator for large (red) and small (green) packages.
  • The total unpacked size of all dependencies at the end.

Contributing

We welcome contributions! Follow these steps to contribute:

  1. Clone the repository:
    git clone https://github.com/yourusername/unpacman.git
  2. Install dependencies:
    npm install
  3. Build the project:
    npm run build
  4. Test your changes:
    npm run start

Feel free to open issues or submit pull requests with your ideas and fixes.


License

This project is licensed under the MIT License.


Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published