fast-number-formatter
👉 Take note that this package is in still early stage of development, and there might be breaking changes introduced while we are finalizing on the API
A NumberFormatter which forces developpers to reuse the format instead of creating new copies for each number (Which should theoretically make it faster)
yarn add fast-number-formatter # or with npm npm install fast-number-formatter --save
Examples
;// 12,345.67 ;// 12,345.678 setCurrentCulture'da-DK';;// 12.345,6 ;// 12.345,6789 ;;// 12.345,678// 12.345,0