8 Best Vanilla JavaScript Number Formatting Libraries

List hand-picked by Openbase Experts
Learn More

num

numeral

A javascript library for formatting and manipulating numbers.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.8/ 5
8
Top Feedback
4Easy to Use
3Great Documentation
3Performant
GitHub Stars
9K
Weekly Downloads
762K
Last Commit
5yrs ago

accounting

A lightweight JavaScript library for number, money and currency formatting - fully localisable, zero dependencies.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
3.3/ 5
3
Top Feedback
2Great Documentation
GitHub Stars
5K
Weekly Downloads
260K
Last Commit
5yrs ago
nar

narabicwords

A simple and effective Number to Arabic Words converter converting numbers to the equivalent Arabic text in accordance with Arabic grammar rules

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
11
Weekly Downloads
17
Last Commit
2mos ago
num

numbro

A JS library for number formatting

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
864
Weekly Downloads
149K
Last Commit
1mo ago
wnu

wnumb

wNumb - JavaScript Number & Money formatting

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
154
Weekly Downloads
31K
Last Commit
2yrs ago
pdn

parse-decimal-number

🏧 Parse a decimal number with i18n format support (localized decimal points and comma separators)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
35
Weekly Downloads
15K
Last Commit
3yrs ago
nfj

number-format.js

Lightweight & Fast JavaScript Number Formatter

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
130
Weekly Downloads
8K
Last Commit
2yrs ago
nor

normat

Generic javascript number/string formatting (bytes, milliseconds, ...).

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
33
Weekly Downloads
1
Last Commit
7yrs ago