function paintVerb
paintVerb(verb: string): string

The colour a verb wears, wherever a verb is printed — the reading ones cool, the writing ones warm, and the one that destroys something red. The same five every HTTP tool has taught.

import { paintVerb } from './print-request.ts';

paintVerb('GET'); // 'GET', blue when the terminal takes colour

Parameters

verb: string

Return Type

string

Usage

import { paintVerb } from "lib/commands/repl/print-request.ts";