Skip to main content
Module

x/ansi_escape_code/parser.ts>trimAndParse

Utilities to trim and parse ANSI escape code
Go to Latest
function trimAndParse
import { trimAndParse } from "https://deno.land/x/ansi_escape_code@v0.1.2/parser.ts";

Trim and parse ANSI escape code in expr and return it.

Parameters

expr: string

Returns

[string, Annotation[]]