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

calm-garden-cli

v1.3.0

Published

breathing exercises in the command line

Readme

Calm Garden (CLI)

Enhance your relaxation and focus with this command-line interface (CLI) application for breathing exercise. Practice this powerful technique while growing a virtual garden, making your stress-reduction journey both enjoyable and rewarding.

🤔 Why CLI?

  • 🔇 Discreet: Practice box breathing right from your terminal without drawing attention.
  • ⏱️ Quick Breaks: Easily take short breathing breaks during work without switching contexts.
  • 🚫 Distraction-Free: No flashy graphics or notifications to disrupt your focus.
  • 🖥️ Always Accessible: If you have access to a terminal, you have access to your breathing exercises.
  • 🛡️ Privacy: Practice self-care without anyone knowing or interrupting you.

🌟 Features

  • 🕒 Customizable box breathing exercises with adjustable duration
  • 📊 Progress tracking to monitor your practice
  • 🌱 Virtual garden to visualize your growth
  • 🛍️ In-app shop to acquire new plants for your garden
  • 💰 Coin system to reward consistent practice

Available Breathing Techniques

Calm Garden CLI offers several breathing techniques to help you reduce stress and improve focus:

  1. Box Breathing: Also known as square breathing, this technique involves inhaling, holding, exhaling, and holding again, each for 4 seconds.

  2. Physiological Sigh: This technique mimics a natural stress-relieving breath pattern, involving two quick inhales followed by a longer exhale.

  3. Pranayama (4-7-8): A yogic breathing technique that involves inhaling for 4 seconds, holding for 7 seconds, and exhaling for 8 seconds.

  4. Coherent Breathing: A simple technique that involves

Choose the technique that best suits your needs and start your journey to inner calm!

How to add custom breathing pattern

Create "breathe.json" file and follow this example:

[
  {
    "emoji": "🌊",
    "display": "Advanced Box Breathing",
    "name": "advancedBox",
    "pattern": [
      { "name": "Inhale", "duration": 5 },
      { "name": "Hold", "duration": 5 },
      { "name": "Exhale", "duration": 5 },
      { "name": "Hold", "duration": 5 }
    ],
    "description": "Box breathing but bit more difficult."
  }
]

🖼️ Screenshots

Breathing exercise:

Breathing Exercise

Progress visualized as a garden:

Virtual Garden

Shop:

Shop

🚀 Installation

Install the app:

npm i -g calm-garden-cli

🏁 Quick Start

To open CLI menu, just type:

calm-garden-cli

💡 Why Box Breathing?

Box breathing, also known as square breathing, is a simple yet effective technique to:

  • Reduce stress and anxiety
  • Improve focus and concentration
  • Enhance overall well-being

Start your journey to better mental health today!

🌿 How to Use

  1. Start a Breathing Session:

    • Choose your preferred breathing technique
    • Set the duration for your session
    • Follow the on-screen prompts to guide your breathing
  2. Track Your Progress:

    • View your practice history
    • Monitor your achievements and milestones
    • Analyze your consistency over time
  3. Grow Your Garden:

    • Earn coins through consistent practice
    • Watch your virtual garden flourish as you progress
  4. Shop for Plants:

    • Use your earned coins to purchase new plants
    • Customize and expand your virtual garden
    • Unlock special plants as you reach higher levels
  5. Explore Different Techniques:

    • Try various breathing patterns to find what works best for you
    • Experiment with custom breathing patterns for personalized sessions

💾 Data Storage

Your progress and garden data are stored locally on your machine using the node-persist library. The data is typically saved in a .node-persist directory within your home folder (e.g., ~/.node-persist/ on Unix-like systems or C:\Users\YourUsername\.node-persist\ on Windows). This ensures your data persists between sessions, allowing you to track your long-term progress.

🤝 Contributing

Please create an issue before writing the code.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.