Skip to main content

Built and signed on GitHub Actions

format string with Python f-string or date command syntax

This package works with Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers, Node.js, Deno
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
76%
Published
3 months ago (1.0.3)

default

format-js provides two types of formatter;

T
DateHanler

Handler definitions for DateLikeFormatter

c
DateLikeFormatter

date command like formatter

I
DateOptions

Options for DateLikeFormatter

f
format

Format string with Python f-string like syntax

f
format_date

Format string with date command like syntax

T
FStringAlign

Alignment definitions for FStringLikeFormatter

T
FStringHandler

Handler definitions for FStringLikeFormatter

c
FStringLikeFormatter

Python f-string like formatter

I
FStringOptions

Options for FStringLikeFormatter

f
patch_default_format

Patch default FStringLikeFormatter instance

f
patch_default_format_date

Patch default DateLikeFormatter