Expand description
Common utility functions for formatting output
Enums§
- Duration
Format - Duration format variants
Functions§
- extract_
artist_ names - Extract artist names from an item’s “artists” array
- format_
duration - Format milliseconds as mm:ss duration string (short format) Convenience wrapper for backward compatibility
- format_
duration_ as - Format milliseconds as duration string with specified format
- format_
number - Format large numbers with K/M suffix
- get_
score - Get fuzzy score from an item
- print_
table - Print a formatted table with header, columns, and rows
- truncate
- Truncate string to max length with ellipsis