@webdeveric/utils
    Preparing search index...

    Function indent

    • Add indent before each line in input.

      Parameters

      • input: string
      • indentation: string

      Returns string

      indent('one\ntwo\nthree', '  '); // '  one\n  two\n  three'