.png)
Beaver - Universal Format Module
The all-in-one formatting library for numbers, dates, currencies, percentages, RIchText and 40+ more.
Personal
For personal projects and learning.
Commercial
For revenue-generating games and clients.
Not sure which license fits your project? Compare licenses
Beaver is a comprehensive and easy-to-use formatting library for Roblox developers. Stop rewriting the same formatting code over and over. Beaver handles it all with a clean, consistent API.
It's built with performance in mind. Minimal overhead, no dependencies, and optimized for both server and client environments.
What can you format?
Beaver allows you to format many kinds of data. Whether it's converting a long hard to read number into comma form, or display the ordinal rank on a leaderboard, there is always a formatter for every scenario. If you'd like to view all the formatters, see the documentation page
Before vs After examples
| Before | After |
|---|---|
| 1234567 | 1,234,567 |
| 1789884610000 | 69 Days |
| 0.1234567 | 12.35% |
| 1234567 | 1.23M |
Why choose Beaver
Saves you time: No more bloated formatters scattered around your codebase, Beaver acts as a centralizer and can be required from anywhere.
Consistency: It keeps your UI cleaner. Some games skip out on formatting and it can make their UI harder to read or unclear.
Easy to use: Beaver is a web of formatters, you just require Beaver and use the formatter you like, no middleware in between.
Note: This is a module script. Check the documentation for installation and usage instructions.
- 50+ Built-in formatters
- Numbers, currencies, dates, time, storage and more
- RichText helpers
- Prefix, suffix and notation formatting
- Consistent API
- Lightweight and fast
- Works on both server and client