Skip to main content
Module

x/crayon/mod.ts>mapPrototypeStyles

🖍️ Terminal styling done light and fast.
Go to Latest
function mapPrototypeStyles
import { mapPrototypeStyles } from "https://deno.land/x/crayon@3.3.2/mod.ts";

Uses mapStyle on every given style code

  • map key will be used as name parameter

Parameters

...maps: (Map<string, (() => StyleCode) | StyleCode>)[]

– map which styles will get mapped