https://github.com/bcrist/zig-fmthelper
Some std.fmt helpers for Zig programs
https://github.com/bcrist/zig-fmthelper
formatting gigabytes kilobytes megabytes units utilities utility-library zig zig-library zig-package ziglang
Last synced: over 1 year ago
JSON representation
Some std.fmt helpers for Zig programs
- Host: GitHub
- URL: https://github.com/bcrist/zig-fmthelper
- Owner: bcrist
- License: mit
- Created: 2024-05-13T22:42:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-14T02:40:10.000Z (over 1 year ago)
- Last Synced: 2025-02-14T03:28:45.975Z (over 1 year ago)
- Topics: formatting, gigabytes, kilobytes, megabytes, units, utilities, utility-library, zig, zig-library, zig-package, ziglang
- Language: Zig
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Zig-fmtHelper
Includes several std.fmt helpers, including:
- `fmtBytes`: automatically format large byte values in KB, MB, GB, TB, etc.
- `fmtSI`: automatically format large of small values using SI unit prefixes.