Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/crayon/src/crayon.ts>mapPrototypeFuncs

๐Ÿ–๏ธ Terminal styling done light and fast.
Latest
function mapPrototypeFuncs
import { mapPrototypeFuncs } from "https://deno.land/x/crayon@3.3.3/src/crayon.ts";

Uses mapFunc on every given function

  • func.name will be considered as name parameter

Parameters

โ€“ functions which will get mapped

Uses mapFunc on every given function

  • map key will be used as name parameter

Parameters

...maps: Map<string, CrayonStyleFunction>[]

โ€“ map which functions will get mapped