Skip to main content
Module

x/ansi_escape_code/csi.ts>parseCsi

🦕 Utilities to trim and parse ANSI escape code
Go to Latest
function parseCsi
import { parseCsi } from "https://deno.land/x/ansi_escape_code@v1.0.1/csi.ts";

Parse CSI sequence and return Csi object

It throws an error when sequence is not CSI sequence.

Parameters

sequence: string