Skip to main content
Module

x/ansi_escape_code/sgr.ts>parseSgr

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

Parse SGR parameters and return Sgr object

Parameters

parameters: string