🔢 Bytes formatter module provides a function to format byte values into human-readable strings with appropriate units (bytes, KB, MB, GB, TB, PB).
-
Updated
Feb 15, 2025 - JavaScript
🔢 Bytes formatter module provides a function to format byte values into human-readable strings with appropriate units (bytes, KB, MB, GB, TB, PB).
Simple function formatBytes() that you all heard about and implemented - now in packagist. Easily convert filesizes from bytes to human-readable format
Add a description, image, and links to the format-bytes topic page so that developers can more easily learn about it.
To associate your repository with the format-bytes topic, visit your repo's landing page and select "manage topics."