deno.land / x / hono@v4.2.5 / utils / color.ts
12345678910111213export function getColorEnabled() { // eslint-disable-next-line @typescript-eslint/no-explicit-any const { process, Deno } = globalThis as any const isNoColor = typeof process !== 'undefined' ? // eslint-disable-next-line no-unsafe-optional-chaining 'NO_COLOR' in process?.env : typeof Deno?.noColor === 'boolean' ? (Deno.noColor as boolean) : false return !isNoColor}
Version Info