image

JS provides powerful number formatting with the standard built-in object Intl.NumberFormat, but we found its API a little verbose and hard to grasp. We took inspiration from older libraries like numbro.js and numeral.js and built a string based pattern for interacting with Intl.NumberFormat.