Skip to main content

@std/fmt@1.0.6
Built and signed on GitHub Actions

Utilities for formatting values, such as adding colors to text, formatting durations, printf utils, formatting byte numbers.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 months ago (1.0.6)

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

function brightWhite
brightWhite(str: string): string

Set text color to bright white.

Examples

Usage

import { brightWhite } from "@std/fmt/colors";

console.log(brightWhite("Hello, world!"));

Parameters

The text to make bright white

Return Type

The bright white text

Add Package

deno add jsr:@std/fmt

Import symbol

import { brightWhite } from "@std/fmt/colors";

---- OR ----

Import directly with a jsr specifier

import { brightWhite } from "jsr:@std/fmt/colors";

Add Package

npx jsr add @std/fmt

Import symbol

import { brightWhite } from "@std/fmt/colors";

Add Package

yarn dlx jsr add @std/fmt

Import symbol

import { brightWhite } from "@std/fmt/colors";

Add Package

pnpm dlx jsr add @std/fmt

Import symbol

import { brightWhite } from "@std/fmt/colors";

Add Package

bunx jsr add @std/fmt

Import symbol

import { brightWhite } from "@std/fmt/colors";