SPeCS Packages Documentation
    Preparing search index...

    Helps inserting lines.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    newLine: string = "\n"

    Methods

    • Parameters

      • contents: string | File

        The contents where lines will be inserted.

      • linesToInsert: Record<number, string | string[]>

        Maps line numbers to strings to insert.

      Returns string

      the contents with the lines inserted.