Skip to main content

BUILT_IN_FORMATTERS

The formatters every registry has: relative ("3 hours ago"), number (grouped, at most one decimal), km ("10 km") and date ("8 Nov 2026, 14:05 UTC").

This is a constant exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { BUILT_IN_FORMATTERS } from "@mapcairn/core";

BUILT_IN_FORMATTERS: Readonly<Record<string, Formatter>>

See also​

Source: packages/core/src/layers/formatters.ts:128