• Shorten a plain text up to limit chars. Split by separators.

    Parameters

    • text: string
    • opts: SummarizeOpt = {}

    Returns string