unpacman

1.0.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i unpacman

Weekly Downloads

4

Version

1.0.3

License

ISC

Unpacked Size

11.7 kB

Total Files

5

Last publish

Collaborators

  • sidvarma