@bitbeater/node-utils - v3.0.0
    Preparing search index...

    Function insertBetweenPlacweHoldersSync

    • Inserts the specified data between the given placeholders in the file synchronously. If the file does not exist, it creates the file and inserts the data.

      Parameters

      • filePath: string

        The path of the file.

      • data: string

        The data to be inserted between the placeholders.

      • beginPlaceHolder: string

        The beginning placeholder.

      • endPlaceHolder: string

        The ending placeholder.

      Returns void