@webdeveric/utils
    Preparing search index...

    Function trimIndentation

    • Remove common leading indentation from every line in input and trim the result.

      Parameters

      • input: string

      Returns string

      trimIndentation('  foo\n  bar\n'); // 'foo\nbar'