Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/crayon/src/util.ts

🖍️ Terminal styling done light and fast.
Go to Latest
import * as crayon from "https://deno.land/x/crayon@3.3.2/src/util.ts";

Functions

Return whether NO_COLOR is set

Return whether program is running in deno runtime

Return whether program is running in node runtime

Faster alternative to String.prototype.replace

Faster¹ alternative to String.prototype.replaceAll

Type Aliases

Get keys of a map

Get values of a map