Ironically, it's possible every browser includes this already internally, but doesn't expose it to Javascript [0].
Packages still have their place, but the lack of a decent standard library will hurt us for decades to come (already is arguably).
[0] https://dxr.mozilla.org/mozilla-central/source/intl/icu/sour...