String, Text & Formatting
Case conversion (camel / snake / kebab / pascal / title) with deep object support, English inflection (pluralize / singularize), natural sorting ("file2" before "file10"), word-wrap with ANSI awareness, byte-size formatting in SI + binary units, human-friendly time-ago, terminal table rendering with alignment + Unicode borders. The "make text legible" layer for CLI tools, logs, dashboards, and exports.
Projects
Packages (55)
- @philiprehberger/dotnet-base-encodingdotnet
Base32, Base62, and Base64URL encoding and decoding — URL-safe, padding-free alternatives to standard Base64.
- @philiprehberger/dotnet-cron-expressiondotnet
Parse, validate, and evaluate cron expressions with next/previous occurrence calculation, shortcut aliases, fluent builder, human-readable descriptions, timezone-aware scheduling, exclusion calendars, and Nth weekday support.
- @philiprehberger/dotnet-filesize-humanizerdotnet
Convert byte counts into human-readable file size strings and parse them back to bytes.
- @philiprehberger/dotnet-id-generatordotnet
Sortable, URL-safe unique ID generators — ULID, NanoID, and prefixed IDs.
- @philiprehberger/dotnet-obfuscatordotnet
Reversible integer/long ID obfuscation for URL-safe, non-sequential public IDs.
- @philiprehberger/dotnet-pluralizerdotnet
Singularize and pluralize English words with irregular forms, uncountable words, count-aware formatting, and ordinal number conversion.
- @philiprehberger/dotnet-random-readable-stringdotnet
Generate human-readable random strings like `"swift-river-42"` — great for slugs, identifiers, and placeholders.
- @philiprehberger/dotnet-slugifydotnet
Convert text to clean, URL-safe slugs with Unicode diacritic handling, separator collapsing, and max length enforcement.
- @philiprehberger/dotnet-time-agodotnet
Convert timestamps into human-readable relative phrases like "3 hours ago" or "in 2 days".
- @philiprehberger/dotnet-unit-converterdotnet
Type-safe unit conversions for length, weight, temperature, volume, data size, speed, pressure, area, and energy.
- @philiprehberger/go-sluggo
URL-safe slug generator for Go. Handles Unicode, configurable, zero dependencies
- @philiprehberger/go-timeutilgo
Time manipulation helpers for Go — boundaries, comparisons, and human-readable formatting
- @philiprehberger/kt-cron-kitkotlin
Cron expression parsing, scheduling, and human-readable descriptions.
- @philiprehberger/kt-duration-fmtkotlin
Human-readable duration formatting and parsing for Kotlin.
- @philiprehberger/kt-time-agokotlin
Human-readable relative time formatting: 5 minutes ago, in 3 days, yesterday.
- @philiprehberger/cron-expression-builderphp
Fluent cron expression builder with human-readable methods
- @philiprehberger/laravel-model-diffphp
Track and display structured differences between Eloquent model versions with human-readable labels
- @philiprehberger/php-human-durationphp
Convert seconds into human-readable duration strings
- @philiprehberger/py-durationpython
Parse and format human-readable duration strings like \
- @philiprehberger/py-filesizepython
Convert bytes to human-readable file sizes and back.
- @philiprehberger/py-humanize-bytespython
Convert byte counts to human-readable strings and back, with formatting options
- @philiprehberger/py-randstrpython
Generate random readable strings for various purposes.
- @philiprehberger/py-sql-printpython
Pretty-print and format SQL queries for debugging
- @philiprehberger/py-stacktracepython
Turn Python stack traces into cleaner, more readable output
- @philiprehberger/py-str-casepython
Convert strings between camelCase, snake_case, PascalCase, kebab-case, and more.
- @philiprehberger/py-text-tablepython
Render data as clean ASCII/Unicode tables in the terminal with zero configuration
- @philiprehberger/py-timeagopython
Convert timestamps to relative time phrases like '3 hours ago'
- @philiprehberger/rb-base-convertruby
Multi-format base encoding with Base32, Base36, Base58, Base62, and Base85 support
- @philiprehberger/rb-base64-urlruby
URL-safe Base64 encoding with optional padding and JSON helpers
- @philiprehberger/rb-compact-idruby
Compact UUID encoding in Base58 and Base62 for shorter, URL-safe identifiers
- @philiprehberger/rb-encoding-kitruby
Character encoding detection, conversion, and normalization
- @philiprehberger/rb-html-builderruby
Programmatic HTML builder with tag DSL, auto-escaping, form helpers, components, and output formatting
- @philiprehberger/rb-human-sizeruby
Bidirectional byte size formatting with SI and binary units
- @philiprehberger/rb-inflectorruby
Rails-compatible string inflections without ActiveSupport dependency
- @philiprehberger/rb-natural-sortruby
Human-friendly natural sorting — "file2" before "file10"
- @philiprehberger/rb-pluralizeruby
Standalone English pluralization, singularization, and string inflection
- @philiprehberger/rb-random-dataruby
Lightweight random test data generator for names, emails, addresses, and common types
- @philiprehberger/rb-tableruby
Terminal table formatting with Unicode borders, alignment, and multiple styles
- @philiprehberger/rb-time-agoruby
Relative time formatting for past and future timestamps
- @philiprehberger/rb-word-wrapruby
Text wrapping with word-boundary awareness, indentation, and ANSI escape code support
- @philiprehberger/rb-xml-builderruby
Lightweight XML builder DSL without Nokogiri dependency
- @philiprehberger/rs-byte-fmtrust
Human-readable byte size formatting and parsing
- @philiprehberger/rs-cron-parserrust
Cron expression parsing, scheduling, and human-readable descriptions
- @philiprehberger/rs-duration-fmtrust
Human-readable duration formatting and parsing
- @philiprehberger/rs-slugrust
Unicode-aware slug generation for URL-safe strings
- @philiprehberger/rs-str-utilsrust
String manipulation utilities — truncation, case conversion, padding, and whitespace operations
- @philiprehberger/rs-table-fmtrust
Terminal table rendering with alignment, borders, Unicode support, and ANSI color awareness
- @philiprehberger/bytes-tstypescript
Parse and format byte sizes for humans
- @philiprehberger/core-utilstypescript
Pure utility functions - formatting, pagination, slugs, class merging, and more
- @philiprehberger/ts-badge-generatortypescript
Generate SVG badges with multiple styles, colors, and optional logos
- @philiprehberger/ts-casetypescript
String case conversion — camel, snake, kebab, pascal, title, and deep object key conversion
- @philiprehberger/ts-filesizetypescript
Human-readable file size formatting and parsing — bytes to KB, MB, GB and back
- @philiprehberger/ts-natural-sorttypescript
Natural string sorting — file2 before file10, not after
- @philiprehberger/ts-pretty-mstypescript
Convert milliseconds to human-readable strings and back
- @philiprehberger/ts-uidtypescript
Collision-resistant, time-sortable, compact unique IDs in base62