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

@moazzam-qureshi/pomodoro-cli

v1.0.1

Published

A CLI Pomodoro timer for developers to maintain healthy work-break cycles

Readme

🍅 Pomodoro CLI

A CLI-driven Pomodoro timer for developers to maintain healthy work-break cycles.

✨ Features

  • 🎯 Focused Work Sessions: 25-minute timer with real-time countdown display
  • ⏸️ Smart Controls: Pause, resume, and stop functionality
  • 📊 Progress Tracking: Daily statistics and session history
  • 🔔 Break Enforcement: System-level interventions to ensure you take breaks
  • ⚡ Fast & Lightweight: Optimized CLI with minimal dependencies
  • 🌍 Cross-Platform: Works on macOS, Linux, and Windows

🚀 Installation

NPM (Recommended)

npm install -g @moazzam/pomodoro-cli

Development Install

git clone https://github.com/moazzam-ahmed/pomodoro-cli.git
cd pomodoro-cli
npm install
npm link

🎮 Usage

Basic Commands

Start a Pomodoro Session

pomodoro start                    # 25-minute session (default)
pomodoro start --duration 30     # Custom duration
pomodoro start -d 45             # Short flag

Control Your Session

pomodoro pause                    # Pause current session
pomodoro resume                   # Resume paused session
pomodoro stop                     # Stop current session

View Statistics

pomodoro stats                    # Today's productivity stats

Get Help

pomodoro --help                   # Show all commands
pomodoro start --help             # Command-specific help

🖥️ Real-Time Display

When you start a session, you'll see a beautiful real-time countdown:

🍅 Work Session
    25:00
████████████████████ 100%

Started at 2:30:15 PM

📋 Examples

Quick 15-minute focus session

pomodoro start -d 15

Check your daily progress

pomodoro stats

Output:

📊 Daily Statistics
==================
Date: Sun Jul 13 2025
Completed sessions: 4
Total sessions: 5
Total focus time: 100 minutes
Average session: 25 minutes
Completion rate: 80%

⚙️ Configuration

The app automatically creates configuration files in platform-appropriate locations:

  • macOS: ~/Library/Preferences/pomodoro-cli/
  • Linux: ~/.config/pomodoro-cli/
  • Windows: %APPDATA%/pomodoro-cli/

Custom Durations

Supports work sessions from 1 to 240 minutes (4 hours).

🔧 Break Enforcement

The Pomodoro technique requires taking breaks! This CLI enforces breaks through:

  • Desktop Notifications: System notifications when sessions complete
  • Visual Feedback: Clear completion status and next steps
  • Session Tracking: Monitors break compliance in statistics

Note: Advanced break enforcement features (screen overlay, input blocking) are planned for future releases.

🏗️ Architecture

Built with modern Node.js technologies:

  • CLI Framework: Commander.js for argument parsing
  • UI Rendering: Ink + React for real-time terminal display
  • Configuration: Cross-platform config management with Conf
  • Notifications: node-notifier for desktop alerts

🤝 Contributing

We welcome contributions! Please see our development workflow:

  1. Fork & Clone: Fork the repository and clone locally
  2. Install Dependencies: npm install
  3. Run Tests: npm test
  4. Lint Code: npm run lint
  5. Submit PR: Create pull request with clear description

Development Commands

npm start                         # Run CLI in development
npm test                          # Run test suite
npm run lint                      # Check code quality
npm run dev                       # Watch mode for development

📚 Resources

  • Pomodoro Technique: Learn more about the Pomodoro Technique
  • Health Benefits: Regular breaks reduce eye strain, improve posture, and boost productivity
  • Developer Wellness: Maintaining healthy work habits for sustainable coding

🐛 Troubleshooting

Common Issues

CLI command not found after installation

npm install -g @moazzam/pomodoro-cli
# Ensure ~/.npm-global/bin is in your PATH

Notifications not working

  • Ensure system notifications are enabled
  • Check notification permissions for terminal applications

Timer appears frozen

  • Press Ctrl+C to safely exit
  • Restart the session with pomodoro start

Getting Help

📄 License

MIT License - see LICENSE file for details.

🙏 Acknowledgments

  • Francesco Cirillo: Creator of the Pomodoro Technique
  • Open Source Community: For the excellent libraries that make this possible
  • Developer Wellness Movement: For promoting healthy coding practices

Stay focused, stay healthy! 🍅✨