Flatten nested objects and arrays into single-level key-value pairs using dot notation for objects and bracket notation for arrays.
Flatten nested arrays
Recursively flatten an array or arrays.
Isomorphic map-reduce function to flatten an array into the supplied array
Take a nested Javascript object and flatten it, or unflatten an object with delimited keys
Generate consistent, unique shadow IDs based on input data. Combines SHA256 hashing, base62 encoding, and timestamp extraction for deterministic ID generation.
Interval search tree with TypeScript support
Flattens any GeoJSON to a FeatureCollection
transform geojson into single-parts
Generate random integers within a specified range. Simple wrapper around Math.random() with inclusive bounds.
The lodash method `_.flatten` exported as a module.
String case conversion utilities supporting multiple formats. Convert between camelCase, PascalCase, snake_case, kebab-case, and more.
Type-safe RPC server for handling remote procedure calls. Provides automatic validation, error handling, execution context tracking, and Sentry integration.
Memoization decorator that caches function results based on arguments. Returns cached results for subsequent calls with the same arguments.
Type-safe environment variable validation. Ensure required environment variables exist and have proper types at application startup.
Type-safe RPC client for making remote procedure calls. Provides automatic serialization, error handling, and request memoization.
Base62 encoding and decoding utility for converting strings and byte arrays into URL-safe, compact representations. Useful for shortening IDs, creating readable tokens, or encoding binary data.
Generate various types of unique IDs with prefixes. Supports sorted IDs with timestamps, unsorted random IDs, key IDs with checksums, and Snowflake-style distributed IDs.
Flattens React children and fragments to an array with predictable and stable keys
Shared OpenTelemetry bootstrap and execution-context trace fallback helpers.
Ensure a function is called only once, returning the cached result on subsequent calls. Useful for initialization functions or expensive operations that should run exactly once.
Comprehensive validation framework with composable validators and modifiers. Define schemas with full TypeScript support and get detailed error messages.
Get geolocation information for IP addresses. Retrieves country, city, timezone, coordinates, ASN, and organization data from the geojs.io API.
Generate URL-friendly slugs with collision detection. Automatically handles uniqueness and provides short ID generation with random padding.