New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

yarn-progress-tracker

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yarn-progress-tracker

A beautiful progress tracker for Yarn package installations

latest
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

yarn-progress-tracker 🧶

A powerful Node.js package that provides real-time tracking of Yarn package installations with beautiful progress bars and advanced analytics.

License: MIT

✨ Features

  • 📊 Real-time download progress tracking with speed monitoring
  • 📦 Package size analysis with dependency breakdown
  • ⚡ Network speed detection and optimization
  • 🔄 Smart installation time estimation
  • 📈 Beautiful progress bars with detailed metrics
  • 🎯 Installation stage tracking
  • ⌛ Accurate time remaining estimation
  • 🌐 Global and local installation support
  • 💻 Cross-platform compatibility (Windows, macOS, Linux)

🚀 Installation

yarn global add yarn-progress-tracker

Usage

Instead of using yarn add, simply use:

yarn-track <package-name> # Install a specific package

or

yarn-track # Install all packages in package.json

Examples

  • Install a single package:
yarn-track express
  • Install multiple packages:
yarn-track express lodash moment
  • Install dev dependencies:
yarn-track -D typescript @types/node
  • Install packages globally:
yarn-track -g package-name

📊 Progress Information

The progress bar displays:

express [██████████░░░░░] 67% || Speed: 1.2MB/s || ETA: 00:30 || 5.2/10.5 MB

Command Options

OptionDescription
-D, --devSave packages as development dependencies
-g, --globalInstall packages globally

Analysis Output

Package Size Analysis:
├─ Main Package: 2.5MB
├─ Dependencies: 15.8MB
└─ Total Size: 18.3MB

Estimated Installation Time: 0h 1m 30s

🛠 Technical Details

Installation Stages

  • Package Analysis

    • Size calculation
    • Dependency tree analysis
    • Network speed detection
  • Download Progress

    • Real-time speed monitoring
    • Accurate size reporting
    • ETA calculation
  • Installation Progress

    • Package resolution
    • Dependency linking
    • Final installation

Progress Tracking Features

  • Automatic network speed detection
  • Smart ETA calculation based on package size
  • Detailed dependency analysis
  • Cross-platform progress bar rendering

🔧 Development

To set up the project for development:

# Clone the repository
git clone https://github.com/yourusername/yarn-progress-tracker.git

# Navigate to project directory
cd yarn-progress-tracker

# Install dependencies
yarn install

# Build the project
yarn build

# Link for local development
yarn link

# Run in development mode
yarn dev

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  • Fork the repository
  • Create your feature branch (git checkout -b feature/AmazingFeature)
  • Commit your changes (git commit -m 'Add some AmazingFeature')
  • Push to the branch (git push origin feature/AmazingFeature)
  • Open a Pull Request

📝 License

MIT © [isaacobenzy]

💖 Support

If you find this package helpful, please consider:

  • Giving it a star ⭐️
  • Sharing it with others
  • Contributing to its development

This project is inspired by the npm-progress-tracker and aims to provide similar functionality for Yarn users.

📦 Author

isaacobenzy - Initial work - GitHub Profile

Keywords

yarn

FAQs

Package last updated on 25 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts