There's no need to use a library to display formatted numbers in a recent browser (even IE 11 seems to be supported!). It seems possible to use Intl.NumberFormat for that use case.
Maybe we can also use Intl for other use cases? You can adapt the idea to what it looks better for you.
Check MDN docs and Can I use table