Alignment definitions for FStringLikeFormatter
.format()
method dispatches based on this alignment definitions.
Alignment function takes partially formatted string and required width,
and returns width-adjusted string.
format string with Python f-string or date command syntax
Alignment definitions for FStringLikeFormatter
.format()
method dispatches based on this alignment definitions.
Alignment function takes partially formatted string and required width,
and returns width-adjusted string.
Add Package
deno add jsr:@ymd-h/format-js
Import symbol
import { type FStringAlign } from "@ymd-h/format-js";
---- OR ----
Import directly with a jsr specifier
import { type FStringAlign } from "jsr:@ymd-h/format-js";
Add Package
npx jsr add @ymd-h/format-js
Import symbol
import { type FStringAlign } from "@ymd-h/format-js";
Add Package
yarn dlx jsr add @ymd-h/format-js
Import symbol
import { type FStringAlign } from "@ymd-h/format-js";
Add Package
pnpm dlx jsr add @ymd-h/format-js
Import symbol
import { type FStringAlign } from "@ymd-h/format-js";
Add Package
bunx jsr add @ymd-h/format-js
Import symbol
import { type FStringAlign } from "@ymd-h/format-js";