Quick Start
Get up and running with toolbox-x in minutes.
After installation you can import any utility or class from toolbox-x or from the specific sub modules.
Comprehensive Documentation
All the utilities and classes are categorized. Explore the documentation to find the perfect tool for your needs.
Tips
All the utility functions, classes and type guards are TSDoc enabled. When you hover over any utility or class in your IDE, you will see the shorter version of the documentation.
Examples
๐จ Professional Color Manipulation
Color - Convert between color formats, generate palettes, check accessibility contrast, and perform advanced color math with perfect type safety.
๐ Optimized Array Search
Finder - Blazing-fast array searching with binary search, fuzzy matching, and smart caching. Perfect for large datasets.
๐ Random ID Generation
generateRandomID - Enterprise-grade unique ID generation with prefixes, timestamps, and formatting.
๐ข Pluralize Strings and More
pluralizer - Handles English word pluralization and singularization with support for irregular forms and uncountable nouns.
๐จ Color System Utilities
getColorForInitial - Deterministic color mapping system for consistent UI theming
๐ FormData Preparation
createFormData - Convert JavaScript objects into FormData with extensive configuration options for handling nested structures, files, and data transformations.
๐ก๏ธ Data Sanitization
sanitizeData - Clean and normalize strings/objects by trimming whitespace, removing empty values, and applying customizable filters.
๐ JSON Hydration
parseJSON - Bulletproof JSON parsing with primitive conversion
๐ข Number to Words
numberToWords - Convert numbers to human-readable words (supports up to 100 quintillion).
๐ข Advanced Number Operations
getNumbersInRange - Generate intelligent number sequences with prime, even/odd, and custom filtering capabilities
calculatePercentage - Swiss Army knife for percentage calculations with 7 specialized modes
๐ Extract Updated Fields
extractUpdatedFields - Detect exactly what changed between two objects (including deep nested changes).
Last updated: Sun, Jun 14, 2026 08:22:19PM (UTC)
