the any* family
Micro, zero-dependency tools built on native Intl. No data files, no config — just one function each, in any locale.
scroll↓
anywhen — dates & times: Dates and times into localized strings and relative phrasing. Built on native Intl, no data files.
Dates and times into localized strings and relative phrasing. Built on native Intl, no data files.
datesdatetimeformatrelative
dates & timesv1.0.2
you call
anywhen("2026-07-08", { mode: "relative" })
you get
→
anyamount — money & numbers: Numbers, currency, and units into localized, human-readable strings. One function, three modes, any locale.
Numbers, currency, and units into localized, human-readable strings. One function, three modes, any locale.
currencynumberformatunits
money & numbersv1.0.0
you call
anyamount(1234567)
you get
→
anyaround — names & flags: Region, language, script, currency, and calendar codes into their localized names — decorated with country flags. Any Intl locale.
Region, language, script, currency, and calendar codes into their localized names — decorated with country flags. Any Intl locale.
flagsdisplaynamesssr
names & flagsv0.1.0
you call
anyaround("US")
you get
→