import { findCommonIndent } from "https://deno.land/x/indent_and_wrap@v0.0.2/mod.ts";
Scan text string, and find leading space characters, that are common across all lines.
If ignoreFirstIndent
is set, then the leading space on the first line is not counted, so the provided text string can be trimmed.
This function uses fast algorithm that avoids splitting text to lines array.