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