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

boosted-calc

v1.5.5

Published

A powerful terminal-based calculator with unit conversions, currency support, and more

Readme

Boosted Calculator

A powerful terminal-based calculator inspired by Numi, built with TypeScript and Ink (React for CLI). Features arbitrary precision arithmetic, advanced math operations, unit conversions, dimensional analysis, live currency conversion, and more.

Boosted Calculator Example

Installation

Install from npm (recommended)

npm install -g boosted-calc
# or
yarn global add boosted-calc
# or
bun add -g boosted-calc

Build from source

# Clone the repository
git clone https://github.com/pyboosted/calc
cd calc

# Install dependencies
bun install

# Install globally
npm link

Quick Start

# Run the calculator (interactive mode)
calc

# Open or create a calculation file
calc budget.calc

# Evaluate expression directly
calc -e "2 + 2"
calc -e "100 USD in EUR"
calc -e "sqrt(16) * 2"

# Update currency exchange rates
calc --update

Basic Examples

# Simple math
2 + 2                    # 4
10 * (5 + 3)            # 80
sqrt(144)               # 12

# Unit conversions
100 cm in meters        # 1 m
32 °F in °C            # 0 °C
60 km/h to m/s         # 16.667 m/s

# Compound unit input
1h 30min                # 1.5 hours
2kg300g                 # 2.3 kg
100m / 1min30s          # 66.67 m/min

# Variables and functions
radius = 5
area = pi * radius^2    # 78.54
double(x) = x * 2
double(10)              # 20

# Pipe operator
[1, 2, 3, 4, 5] | sum   # 15
"  hello  " | trim | len # 5

# Date calculations
today + 7 days
25/12/2024 - today in days

Features

  • 🔢 Arbitrary Precision - Decimal.js for exact calculations (v1.5.0)
  • Advanced Mathematics - Functions, trigonometry, logarithms
  • 🔄 Unit Conversions - Length, weight, temperature, time, volume, data
  • Dimensional Analysis - Compound units like m/s, kg⋅m/s² (Newton)
  • 💱 Live Currency - 300+ currencies with daily updates
  • 📅 Date & Time - Arithmetic with dates, timezone support
  • 🔤 Strings & Booleans - Text manipulation, logical operations
  • 📊 Arrays & Objects - First-class data structures
  • 🔧 Variables & Functions - User-defined functions with recursion
  • 🎯 Lambda Expressions - Anonymous functions, higher-order operations
  • 🚀 Pipe Operator - Functional composition with | operator
  • 🎨 Smart Interface - Syntax highlighting, history, multi-line support
  • 📝 Markdown Support - Rich text formatting for invalid expressions (v1.5.3)

→ View all features

Documentation

Development

This project uses Bun as the package manager and development runtime, but is distributed as a standard Node.js package.

# Install dependencies
bun install

# Run tests
bun test

# Run development mode with hot reload
bun dev

# Build for distribution
bun run build

# Type checking
bun run typecheck

# Linting
bun run lint

Publishing

The package is automatically built before publishing:

npm publish

Requirements

  • Node.js 18+ (for runtime)
  • Bun (for development only) - Install Bun

License

MIT