Module

x/lume/deps/cliffy.ts>parse

🔥 Static site generator for Deno 🦕
Very Popular
Latest
function parse
import { parse } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/cliffy.ts";

Parse ansi escape sequence.

Parameters

data: Uint8Array | string

Ansi escape sequence.

parse("\x04\x18");
[
KeyCode { name: "d", sequence: "\x04", ctrl: true, meta: false, shift: false },
KeyCode { name: "x", sequence: "\x18", ctrl: true, meta: false, shift: false },
]
import parse
import { parse } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/cliffy.ts";