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

coast-fire-calculator-cli

v1.0.2

Published

Interactive CLI to estimate your Coast FIRE age—enter your savings, investments, and goals to see when you can stop contributing and still reach financial independence.

Downloads

29

Readme

🚀 Coast FIRE Calculator CLI 🔥

License: ISC Node.js Made with pnpm PRs Welcome

🏝️ Calculate when you can coast to financial independence! 🎯 Enter your savings, investments, and goals to see when you can stop contributing and still reach FIRE.


✨ Features

  • 📝 Interactive prompts for all key financial inputs
  • 📈 Supports annual, quarterly, and monthly compounding
  • 🌈 Colorful, user-friendly CLI output
  • ⏳ Calculates the age you can stop investing and still reach your FIRE goal by age 70

📦 Installation

pnpm install

🛠️ Usage

Run directly with npx:

npx coast-fire-calculator-cli

Or if you have the project locally:

pnpm start

or:

node index.js

🧪 Testing

Run the test suite:

pnpm test

Run tests in watch mode:

pnpm test:watch

Run tests with coverage:

pnpm test:coverage

📝 Committing Changes

This project uses Commitizen for standardized commit messages. To commit your changes:

pnpm commit

This will guide you through creating a conventional commit message with the following format:

type(scope): subject

body

footer

Commit Types:

  • feat: New features
  • fix: Bug fixes
  • docs: Documentation changes
  • style: Code style changes (formatting, etc.)
  • refactor: Code refactoring
  • test: Adding or updating tests
  • chore: Maintenance tasks

🚀 Release Management

This project includes a comprehensive release system inspired by popular open-source libraries.

Quick Release Commands:

# Patch release (1.0.0 → 1.0.1) - Bug fixes
pnpm release:patch

# Minor release (1.0.0 → 1.1.0) - New features
pnpm release:minor

# Major release (1.0.0 → 2.0.0) - Breaking changes
pnpm release:major

# Pre-release versions
pnpm release:prepatch  # 1.0.0 → 1.0.1-0
pnpm release:preminor  # 1.0.0 → 1.1.0-0
pnpm release:premajor  # 1.0.0 → 2.0.0-0

# Interactive release (asks for type)
pnpm release

What the Release Script Does:

  1. 📋 Validation - Checks git status and validates release type
  2. 📝 Version Bump - Updates package.json version
  3. 📚 Changelog - Generates/updates CHANGELOG.md
  4. 🏷️ Git Tag - Creates version tag (e.g., v1.0.1)
  5. 📤 Commit - Commits all changes with proper message
  6. 🚀 Publish - Optionally publishes to npm

Release Workflow:

# 1. Make your changes
git add .
pnpm commit

# 2. Run tests
pnpm test

# 3. Release (choose appropriate type)
pnpm release:patch  # or minor/major

# 4. The script will:
#    - Bump version
#    - Update changelog
#    - Create git tag
#    - Ask if you want to publish to npm

Industry Best Practices:

  • Semantic Versioning: Follows MAJOR.MINOR.PATCH format
  • Conventional Commits: Uses standardized commit messages
  • Keep a Changelog: Maintains detailed change history
  • Git Tags: Creates version tags for easy reference
  • Pre-releases: Supports alpha/beta/rc versions

💡 Example

? What is your current age? 25
? What is your target fire amount? 2000000
? What is your current amount of assets? 10000
? How much can you invest regularly? 500
? How often do you want to invest? (in months) 1
? What is your annual rate? (in %) 7
? How often is your investment compounded? Monthly

📜 License

ISC


Enjoy your journey to financial independence! 🚀💰