~/talk

INTL: The best browser API you’re not using

Talkat XtremeJS 2025 · on Tuesday, 2025-12-02· [web-platform, javascript]
slides:none on file

Modern browsers include the Intl API (baseline since 2017) that replaces heavy npm formatters and cuts bundle size by using built‑in formatters for dates, numbers, currencies, lists and text. It provides DateTimeFormat, RelativeTimeFormat and DurationFormat for humanized times, NumberFormat with currency/unit and accounting styles, ListFormat and PluralRules for correct grammar, a Segmenter for words/ graphemes/ sentences, and a Collator for locale-aware sorting; it supports over 7,000 locales and runs off the JS main thread.

AI-written summary · about

  1. 0:00INTL API introduction
  2. 1:37Why INTL is best
  3. 3:25Formatting dates and times
  4. 8:46Number and currency formatting
  5. 12:59Formatting lists and plurals
  6. 17:14Text segmentation and sorting
  7. 23:00Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.