• Reads a file line by line and calls the given function for each line. The lineNumber starts at 0.

    See readLineByLine for an asynchronous version.

    Parameters

    • filePath: string
    • onLine: (line: Buffer, lineNumber: number) => void

    Returns void