mongez-reinforcements-numbers
CommunityPrecise number utilities for safe math.
Authorhassanzohdy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provide a compact suite of numeric helpers that simplify rounding, clamping, safe arithmetic, and formatting in TypeScript projects, reducing boilerplate and errors.
Core Features & Use Cases
- Rounding utilities with configurable precision (round, floor, ceil, toFixed).
- Range helpers (clamp, inRange, lerp) for safe numeric operations.
- Safe arithmetic (safeDivide, percentage, parseNumber) with graceful fallbacks.
- Formatting (formatBytes, formatNumber, formatDuration) for user-friendly displays.
- Use cases include data normalization, UI value presentation, and robust financial calculations.
Quick Start
Import the numeric helpers from @mongez/reinforcements and start applying rounding, clamping, and formatting in your TypeScript project.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mongez-reinforcements-numbers Download link: https://github.com/hassanzohdy/reinforcements/archive/main.zip#mongez-reinforcements-numbers Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.