ts-dedent is a lightweight TypeScript library for removing excessive indentation from template literals. It simplifies writing cleaner, more readable code, especially when working with multi-line strings or code snippets. By automatically stripping leading whitespace based on the shortest line indent, ts-dedent enhances code maintainability and reduces visual clutter. This is useful for configuration files, code generation, and any scenario where well-formatted strings are essential, resulting in improved code clarity and developer experience.