Toolbox-XToolbox-X

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.

playground.ts

Documentation โ†’


Finder - Blazing-fast array searching with binary search, fuzzy matching, and smart caching. Perfect for large datasets.

playground.ts

Documentation โ†’


๐Ÿ†” Random ID Generation

generateRandomID - Enterprise-grade unique ID generation with prefixes, timestamps, and formatting.

playground.ts

Documentation โ†’


๐Ÿ”ข Pluralize Strings and More

pluralizer - Handles English word pluralization and singularization with support for irregular forms and uncountable nouns.

playground.ts

Documentation โ†’


๐ŸŽจ Color System Utilities

getColorForInitial - Deterministic color mapping system for consistent UI theming

playground.ts

Documentation โ†’


๐Ÿ“„ FormData Preparation

createFormData - Convert JavaScript objects into FormData with extensive configuration options for handling nested structures, files, and data transformations.

playground.ts

Documentation โ†’


๐Ÿ›ก๏ธ Data Sanitization

sanitizeData - Clean and normalize strings/objects by trimming whitespace, removing empty values, and applying customizable filters.

playground.ts

Documentation โ†’


๐Ÿ”„ JSON Hydration

parseJSON - Bulletproof JSON parsing with primitive conversion

playground.ts

Documentation โ†’


๐Ÿ”ข Number to Words

numberToWords - Convert numbers to human-readable words (supports up to 100 quintillion).

playground.ts

Documentation โ†’


๐Ÿ”ข Advanced Number Operations

getNumbersInRange - Generate intelligent number sequences with prime, even/odd, and custom filtering capabilities

playground.ts

Documentation โ†’

calculatePercentage - Swiss Army knife for percentage calculations with 7 specialized modes

playground.ts

Documentation โ†’


๐Ÿ”„ Extract Updated Fields

extractUpdatedFields - Detect exactly what changed between two objects (including deep nested changes).

playground.ts

Documentation โ†’

Last updated: Sun, Jun 14, 2026 08:22:19PM (UTC)

On this page