the any family
Eight tools, zero dependencies — because the dependency is your browser. One function each, any locale.
anywhen — dates & times: Dates and times the way your reader expects them: written out, shortened, or just 3 hours ago.
Dates and times the way your reader expects them: written out, shortened, or just 3 hours ago.
anyplural — plurals: One item or five, first or twenty-first — the right wording every time, even where there are six forms.
One item or five, first or twenty-first — the right wording every time, even where there are six forms.
anyword — words & graphemes: Words, characters and sentences counted the way people see them, emoji and spaceless scripts included.
Words, characters and sentences counted the way people see them, emoji and spaceless scripts included.
anyfamily — all eight any* packages in one install: anywhen, anyamount, anymany, anyaround, anylong, anyplural, anyword and anylocale behind a single import.
The whole family in one install — every formatter behind a single import, nothing unused shipped.
anyfamily-react — React hooks for the any* family: useAnywhen, useAnyamount, useAnymany, useAnyaround, useAnylong, useAnyplural and useAnyword, sharing one locale provider.
Every formatter as a hook, one locale for the whole app, and relative time that stays fresh.